Code for Automation / Auto populate Excel Data in Word documents at specified locations

gr8mechguru

New Member
Joined
Nov 15, 2022
Messages
1
Office Version
  1. 365
I am very new to VBA Coding field.

I need a VBA code for following problem.

I have an excel database and word templates (5 Nos Word Template files).

I need to Auto populate the data from Single Excel file to Multiple Word templates (5 different templates).

In word template I placed bookmarks which I have named in Word where I would like these values to be returned to.

Few bookmarks are repetitive in all Word templates, means same data is to be populated in multiple word files.


I need help how to automatically fetch word templates from a Single Folder. Then Populate data in word templates. then save word file in a different folder.
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Assuming your using Windows (missing from your Profile), and since you're working with two different Office apps, you might consider looking into Power Automate. It's part of 365 so Free, Web Based, and also has a Desktop app. I haven't used it much, but I think you'll have a MUCH easier time doing what you need to do with it rather than with VBA. (Truth - not a fan!).
 
Upvote 0

Forum statistics

Threads
1,214,542
Messages
6,120,116
Members
448,945
Latest member
Vmanchoppy

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top