Hello,
I am trying to import spreadsheet file into a table using the TransferSpreadSheet function. I want to define range which keeps changing for different files. How can I do this
in Access VBA? I am using the following code.
I will appreciate your help very much. Thanks.
DoCmd.TransferSpreadsheet acImport, nSpreadSheetType, "SPECTRUM_CALCULATION", _
cFileName, Me!ChkBox_FieldNames, range
Santosh
I am trying to import spreadsheet file into a table using the TransferSpreadSheet function. I want to define range which keeps changing for different files. How can I do this
in Access VBA? I am using the following code.
I will appreciate your help very much. Thanks.
DoCmd.TransferSpreadsheet acImport, nSpreadSheetType, "SPECTRUM_CALCULATION", _
cFileName, Me!ChkBox_FieldNames, range
Santosh