Thanks so Much!!!! To Dellla Also
Luis
>>Hi friends.
>>
>>I have an app and one of the forms shows a data entry form that I export to a Excel workbook so anybody can enter data into it and then send it to me so I read it again. I use OLE Automation but I want to Enable/Disable the button that does the export whether Excel is installed or not. But one thing, I wish is NOT TO USE GetObject() OR CreateObject() so it won't be slow. I'd rather use a Windows API FUNCTION.
>
>Della posted some code for Word. You can adapt it to Excel
>
>
http://www.levelextreme.com/wconnect/wc.dll?FournierTransformation~?2,15,566432