Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
hi,
Despite MS said that ExcdlADO should be reference in the following format: strSQL = "SELECT * FROM [Sheet1$B1:C20]" But you should also try: strSQL = "SELECT * FROM [DATABASE$B1:C20]" where DATABASE is the name of Sheet9. I don't know how I have programmed, (Using Jet database), but I couldn't get the 1st scenario working, and got the following Run-time error: Run-time error '-2147217865 (80040e37)': The Microsoft Jet Database could not find the object 'Sheet1$B1:C20'. Make usre the object exists and that you spell its name and the path correctly. If someone know about what cause this behaviour, please let me know. Regards Augustus |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Time sheet database | Excel Discussion (Misc queries) | |||
Database (or the like) from Excel Sheet | Excel Discussion (Misc queries) | |||
How to include data on the same sheet some in database some not | Excel Worksheet Functions | |||
Selecting data from database sheet | Excel Discussion (Misc queries) | |||
copy database to another sheet | Excel Worksheet Functions |