Learning VB6 by trial and error from code snippits on the web, however, am embarrassed to say I can't solve this simple one:
Trying to Open an Excel sheet and read it from VB6 code written in another Excel file.
...gives run-time error 9 , subscript out of range, which Microsoft site tells me is because I have not fully qualified the name, which I have.Please Login or Register to view this content.
worksPlease Login or Register to view this content.
gives run-time error 9 tooPlease Login or Register to view this content.
Lots of examples on the web seem to indicate that both the error lines should work...though took me some time to work out that the file had to be open before using Activate !
Also tried opening it manually then Activate, but same result.
Any help welcome.
Thanks
Dave
Bookmarks