sjmmajor
asked on
How do I open an Excel 2000 sheet in VB6 that is connected to access through a datasource?
How do I open an Excel 2000 sheet in VB6 that is connected to access through a datasource without the datasource residing on that particular computer?I need to have this sheet open refresh all datasources and then print to several printers? I can't get it to work unless I create datasources on each computer.
Use a file datasource instead of a system or user datasource. That way you can store the file for the datasource in a common location (a network drive for instance) and set the Excel sheet to reference it there.
ASKER
Does the worksheet have to reside on each computer? I have tried to connect a worksheet on a network drive but it doesn't update when I run it unless I detach and attach the link again. Any better ways of doing this?
ASKER
Also, sometimes I am getting a binding error.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks. I changed the datasources to file datasources on the server and used the UNC path as well as refresh the data. It works!!