Where would this fall in the code from the site you advised me of?
Also, would this go in the VBA on the Excel spreadsheet/workbook or in Access?
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Currently I have the following set up in a Master Excel document: (doc name: Quoting Master)
This spreadsheet is used to calculate Quotes. Each Quote has its own Quote # and the Excel document is renamed for each Quote generated (doc name: Quoting Master 8202) and saved in its Quote Folder (folder name: Quotes/"Customer Name"/"year"/"Quote #")
I'd like to create the following:
Quoting Master document is kept in file folder Quotes/01-Template/Quoting Master.xlsm
Access database is kept in a different folder database/Kam Wire ERP Database.accdb
The data will be put into a table: tblQuoteData. This way the information can be pulled based on the Quote Form.
The Quote Data button on the Quote Logs Form will then pull a query pertaining to this spreadsheet data.
Is there an easy way to do this?
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Where would this fall in the code from the site you advised me of?
Also, would this go in the VBA on the Excel spreadsheet/workbook or in Access?
You can run VBA in access to open excel file.
Maybe I'm not being descriptive enough...
I use an Excel Template (Quoting Master XXXX) within the File Folder (01-Template). It is then copied and saved in the proper year (2023) and then renamed based on the Quote # associated to it (Quoting Master 8212). This changes for each new quote generated by Access.
I want to create a Macro Button on the Excel Template that would pull the data array on the Access Tab within the Workbook and import that data into the Access Database table (tblQuoteData).
Then Access would pull the necessary information from tblQuoteData to run Queries and Reports.
Not sure if this rather large and confusing CODE you sent me will work for what I want it to do.