General information
Category:
COM/DCOM and OLE Automation
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only