Woody
"Robert Edgar" <robert...@wsh-tr.anglox.nhs.uk> wrote in
message news:3b383386$2_1@dnews...
Create an ODBC DSN that points to the Excel file.
Excel files will not appear in the TTable.TableName property drop-down.
Enter the worksheet file name with no extension followed by a $ in the
TableName property. You can optionally append a cell range. For exmaple:
projects$A2:J1000
To read all of the rows in the worksheet when specifying a cell range make
the ending row number larger than the last possible row.
If you really want to work with a table name then you can define a
named region in Excel, then that region will appear in the list of tables
--
Bill
"Woody" <wood...@ih2000.net> schrieb im Newsbeitrag
news:3b38a9b6$1_1@dnews...
For a quick start visit:
http://www.djpate.freeserve.co.uk/Automation.htm
To get help go to OLEAutomation newsgroup.
Bojan
--
Bill