Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fox& Excel OLE Command to save the final product.??????
Message
From
23/09/1999 17:59:19
 
 
To
23/09/1999 17:50:00
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00268283
Message ID:
00268286
Views:
25
>I just created a spreadsheet using fox OLE. I can see the finished product on my screen. What do I write within the code to save the file?
>
>I am typing the following.....My object is called objexcel
>
>delete file (cFilename) && incase it already exists
>
>objexcel.save (cFilename)
>
>
>I am getting an error message as follows:
>OLE DISPATCH EXCEPTION CODE 1004 FROM MICROSOFT EXCEL
>UNABLE TO GET THE SAVE PROPERTY OF THE APPLICATION CLASS.

How about using the SaveAs. I believe there are 5 params, the name being the first one.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform