Information générale
Catégorie:
COM/DCOM et OLE Automation
Hi everyone,
I use Automation on a Windows 98 machine with Excel 2000. When I want to open an Excel file, I type this code:
oExcel=createobject("Excel.Application")
oWorkBook=oExcel.WorkBooks.Open("c:\test.xls")
Then I get the error message:
Error: 1943: "Member WorkBooks does not evaluate to an object"
Then I run the same code on another computer which is exactly installed like the one I get the error from. Also windows 98 and Excel 2000.
Does anybody know how this can happen?
Thanx in advance
Ron :o)
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