Dear all,
I'm using ADODB.recordset to get the data of EXCEL as follows:
RS1.Open "SELECT * FROM [Sheet1$A1:J4]"
But if the sheetname is renamed, I failed to get it.
Thus,I would like if I can get the 'absolute first sheet' name or how can I get the data at the first sheet without knowing the sheet name??
thx a lot!
I'm using ADODB.recordset to get the data of EXCEL as follows:
RS1.Open "SELECT * FROM [Sheet1$A1:J4]"
But if the sheetname is renamed, I failed to get it.
Thus,I would like if I can get the 'absolute first sheet' name or how can I get the data at the first sheet without knowing the sheet name??
thx a lot!