More on the ongoing saga/battle against Excel.
I'm reading chargeback reports that come from all over the place and the sheet names are always different. is there a simpler way than just asking for user input as to the sheet name?
CONN.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=" & filepath & ";" & _
"Extended Properties=""Excel 8.0;HDR=no"""
RS.Open "SELECT * FROM [Sheet1$]", CONN
Needs to change--------------^
I'm reading chargeback reports that come from all over the place and the sheet names are always different. is there a simpler way than just asking for user input as to the sheet name?
CONN.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=" & filepath & ";" & _
"Extended Properties=""Excel 8.0;HDR=no"""
RS.Open "SELECT * FROM [Sheet1$]", CONN
Needs to change--------------^