Currently I have:
Excel Workbook that contains a spreadsheet called "Access" which will contain data required to populate information in my Access database based on quotes generated. Excel Workbook
Access Database that provides the following: 2a. Quote Logs - autonumber generated based on the next quote created by Quote Manager 2b. Folder Link (text field) - contains the folder link on the server that holds the Excel spreadsheet
Quote Logs Example: Quote 8212 Folder Link: file:///\kamsrv\Quotes\krew%20industrial\2023\8212 Quoting Master 8212 (Excel Workbook)
What I want to do is follows:
Create a Macro on the Excel spreadsheet "Access" to pull the data within the selected array and export it into Access Database - tblQuoteData
Each time a new quote is generated, the Excel spreadsheet has the associated Quote # at the end of it. This will need to be reflected in the VBA code for the Macro Button on the spreadsheet. How do I do this?
Any help would be greatly appreciated. Thank you
I've tried several different things:
Launch database, create a table tblQuoteData (ensuring the column headers match the headers in Excel), create the Macro via Access to ImportExportSpreadsheet but this did not work when the spreadsheet gets a new name based on the quote number.
Requested help through Microsoft Community, was pointed here instead.
Tried to create my own macro in Excel but doesn't send to Access due to error on the code: problem with this code is that my Excel document and Access database are not kept in the same file folder on my server