Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A save file problem with automation (Excel)
Message
 
 
To
02/01/2007 20:52:03
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
01181303
Message ID:
01181647
Views:
6
Add
oExcel.DisplayAlerts = .F.
>
>I already try your codes.
>First time, it was good.
>Second time, it appeared information’s: “A file named ‘Book1.xlsx’ already exists in this location. Do you want to replace.” If I chose “Cancel”, I got the error ““OLE Idispatch exception code 0 from Microsoft office Excel: Unable to get the Save property of Workbook class”.
>In addition, I run MS Excel with oExcel.Visible = .F.
>You can test that again, please!
>Canh
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform