Sorry, forgot to add a little info...
I have have made a VB program to access both a MS Access database and a MS Excel file. However, when the sheet names on my Excel file have spaces in, my VB prog gives me a error
'the microsoft jet engine could not find the object ....'
I know I could just rename the sheet, but this would defy the whole point of my program.
I have tried using ' before and after the sheet names and the $ symbol which VB supplies in the 'Connect' drop down list.
I am using Excel 8.0 data type in VB and an Excel 2000 file, would this cause any problems?
Any help would be greatly appreciated
Thanks
Daint
I have have made a VB program to access both a MS Access database and a MS Excel file. However, when the sheet names on my Excel file have spaces in, my VB prog gives me a error
'the microsoft jet engine could not find the object ....'
I know I could just rename the sheet, but this would defy the whole point of my program.
I have tried using ' before and after the sheet names and the $ symbol which VB supplies in the 'Connect' drop down list.
I am using Excel 8.0 data type in VB and an Excel 2000 file, would this cause any problems?
Any help would be greatly appreciated
Thanks
Daint