J
Jim Jones
I key the name of an Excel file which I then want to import using the
Transfer Spreadsheet function
So, I use
Dim Myspreadsheet As String
Myspreadsheet = InputBox(“Input name of spreadsheet to be importedâ€)
Then, my problem is how to use the string Myspreadsheet to identify the
Excel file in the TransferSpreadsheet line which follows:
DoCmd.TransferSpreadsheet acImport, , "Mytable", "\\mypath\.............
I need to know how to complete this line using the string MySpreadsheet to
identify the selected Excel file
Any help would be much appreciated.
Jim Jones
Botswana
Transfer Spreadsheet function
So, I use
Dim Myspreadsheet As String
Myspreadsheet = InputBox(“Input name of spreadsheet to be importedâ€)
Then, my problem is how to use the string Myspreadsheet to identify the
Excel file in the TransferSpreadsheet line which follows:
DoCmd.TransferSpreadsheet acImport, , "Mytable", "\\mypath\.............
I need to know how to complete this line using the string MySpreadsheet to
identify the selected Excel file
Any help would be much appreciated.
Jim Jones
Botswana