Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Excel installed
Message
From
09/09/2008 03:47:56
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01345964
Message ID:
01345966
Views:
16
Try
   oExcel = CreateObject("Excel.Application")
Catch
   Messagebox('Excel is not installed')
   Return
Endtry
>To work with Excel, I have this line:
>
>oExcel = CreateObject("Excel.Application")
>
>When running on a PC without Excel, got this error:-
> "Class definition EXCEL.APPLICATION is not found."
>
>What is the best way to avoid this error?
>
>Cyril
Previous
Reply
Map
View

Click here to load this message in the networking platform