I found some partial solutions to automate the import process of an XLS spreadsheet to the database as a table.
They involve the retrieval of the path to the XLS file via "file control" and using the retrieved path of the file using some code:
DoCmd.TransferSpreadsheet acImport, , tblName,
What I'm wondering is if there is if anyone has a more concise way to import an XLS file by allowing the user to browse for the file.
This is the file i found somewhere (I forgot where; somewhere from this forum) that demonstrates the browsing part of the import process.
They involve the retrieval of the path to the XLS file via "file control" and using the retrieved path of the file using some code:
DoCmd.TransferSpreadsheet acImport, , tblName,
What I'm wondering is if there is if anyone has a more concise way to import an XLS file by allowing the user to browse for the file.
This is the file i found somewhere (I forgot where; somewhere from this forum) that demonstrates the browsing part of the import process.