I wonder if PowerBASIC <http://www.powerbasic.com/products/pbdll32/> wouldhelp? It's my understanding that it can compile a DLL that VBA couldinterface with.