Information générale
Catégorie:
COM/DCOM et 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
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement