>I use "oExcel=GETOBJECT("","excel.application")" from a method in a commandbutton class. When I am in the VFP development environment and run the exe or main.prg, the app works as expected. If I run the exe from an icon, I get a 1733 error with "class definition EXCEL.APPLICATION is not found".
>
>Anyone have any ideas?
>
>Thanks, Chuck
Either Excel isn't installed or the version is one prior to the support for OLE Automation (Excel '97, or later I think is the requirement).
George
Ubi caritas et amor, deus ibi est