J
Jim Jones
A novice needs some help!
I need some code which will allow my users to input the name of an Excel
spreadsheet. The programme then imports the file into an Access table.
So, I want to use something like
Dim MySpreadsheet As String
MySpreadsheet = InputBox("Input name of spreadsheet")
followed by
DoCmd.TransferSpreadsheet acImport, , "Mytable", "\Mypath\"Myspreadsheet.XLS"
Some code which would work would be very much appreciated.
Jim Jones
I need some code which will allow my users to input the name of an Excel
spreadsheet. The programme then imports the file into an Access table.
So, I want to use something like
Dim MySpreadsheet As String
MySpreadsheet = InputBox("Input name of spreadsheet")
followed by
DoCmd.TransferSpreadsheet acImport, , "Mytable", "\Mypath\"Myspreadsheet.XLS"
Some code which would work would be very much appreciated.
Jim Jones