I am using a function to import data from a daily excel spreadsheet into a database.
Function ImprtData()
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel97, "Usage", "H:\Data Collection\c+ usage", True
End Function
What I need to be able to do is select a file or multiple files from a 'file browser' and have the function use those names.
Any help greatly appreciated. I've ran through the help docs and can not seem to find the information I need.
Function ImprtData()
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel97, "Usage", "H:\Data Collection\c+ usage", True
End Function
What I need to be able to do is select a file or multiple files from a 'file browser' and have the function use those names.
Any help greatly appreciated. I've ran through the help docs and can not seem to find the information I need.