S
samhck2
Hi All,
I need to import an excel file with different columns, ie: A3:B, D3:E
and G3,J. I don't need column C and F.
I am using code below but it doesn't work. Can anyone help??
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel9, _
"CMSTbl", xlPath, True, "A3:B, D3:E, G3:J"
regards,
Sam
I need to import an excel file with different columns, ie: A3:B, D3:E
and G3,J. I don't need column C and F.
I am using code below but it doesn't work. Can anyone help??
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel9, _
"CMSTbl", xlPath, True, "A3:B, D3:E, G3:J"
regards,
Sam