General information
Category:
COM/DCOM and OLE Automation
Whenever I save an Excel spreadsheet the I have opened and modified with VFP6, if I try to later delete or move, or in anyway access that spreadsheet (i.e. through Exlorer, etc.) I get error messages about a sharing violation. The spreadsheet does not appear to be read only, and the original sheet was not either. The command I am using to save the sheet is
oExcel.ActiveWorkbook.SaveAs("&cSaveToFile",xlWorkBookNormal)
(where I have earlier defined xlWorkBookNormal as -4143 and cSaveToFile is the name of the file I want to save to).
Any ideas, anybody ???
Thanks
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