Carlit007
New Member
- Joined
- Sep 5, 2018
- Messages
- 47
- Office Version
- 2019
- 2016
- 2013
- Platform
- Windows
- MacOS
Hi all just recently migrated to access still learning hoping somebody could point me in the right direction.
So I have a table containing property serial number as well as location information for inventory purposes.
What im Trying to do is figure out if theres a way to loop thru each records which have “serialNumber” as the key
Thru vba file-dialog I want to open Open a ms word file containing inventory report
In the word document every-time the Serial number from the table is found for it to be replaced by itself plus a concatenated string such as [SerialNumber]&[room]&[desk]&[person] all coming from the access table
The result would be a serial number for each item on the ms word report with the location right next to it
I have been able to get this to work in excel Vba but am not familiar with the Access objects in VBA
What is the best way to possibly accomplish this in Access?
So I have a table containing property serial number as well as location information for inventory purposes.
What im Trying to do is figure out if theres a way to loop thru each records which have “serialNumber” as the key
Thru vba file-dialog I want to open Open a ms word file containing inventory report
In the word document every-time the Serial number from the table is found for it to be replaced by itself plus a concatenated string such as [SerialNumber]&[room]&[desk]&[person] all coming from the access table
The result would be a serial number for each item on the ms word report with the location right next to it
I have been able to get this to work in excel Vba but am not familiar with the Access objects in VBA
What is the best way to possibly accomplish this in Access?