Hi,
In order for me to import the excel file into the Access 97 table, I have to take the exact path to the file from the user (which I do using a text box)
txtPath.SetFocus
path = txtPath.Text
DoCmd.TransferSpreadsheet acImport, , "1", path, True
But that is of course a headache for the user to type the whole path into the text box.
How could I open a windows dialog box so the user would browse for the file?
Please help.
Thanks
In order for me to import the excel file into the Access 97 table, I have to take the exact path to the file from the user (which I do using a text box)
txtPath.SetFocus
path = txtPath.Text
DoCmd.TransferSpreadsheet acImport, , "1", path, True
But that is of course a headache for the user to type the whole path into the text box.
How could I open a windows dialog box so the user would browse for the file?
Please help.
Thanks