Are you using OLE Automation to open the file? When you open the file (presumably using oExcel.Workbookbooks.Open()), you should save the object reference returned to a variable. If that variable is type "O", then the file was opened.
Actually, if you couldn't open it with that command, you would have gotten an error message.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.