G
Guest
Hi all,
I know I can select data from a Excel worksheet using the following command
text.
"Select * From [Sheet1$]"
That is ok for the worksheet using default name "Sheet1". But, how can I
select data from a wroksheet that I don't know it's name. Can I use somthing
like
"Select * From Sheet[0]"
Of course, the above doesn't work. Can anyone tell me how to do it?
Thanks for any help!
Tedmond
I know I can select data from a Excel worksheet using the following command
text.
"Select * From [Sheet1$]"
That is ok for the worksheet using default name "Sheet1". But, how can I
select data from a wroksheet that I don't know it's name. Can I use somthing
like
"Select * From Sheet[0]"
Of course, the above doesn't work. Can anyone tell me how to do it?
Thanks for any help!
Tedmond