updating data in MS Word document

minnman

New Member
Joined
Oct 16, 2006
Messages
2
I have an Excel spreadsheet that contains data that I am trying to write to MS word documents. Basically, if there are 10 rows of data in the spreadsheet then I must create 10 new Word documents. All of the wording in each Word document is the same. Only the data changes. I have created a Word document and bookmarked the places where each relevant data should be inserted. I would very much appreciate any help on how to write the VBA macro. I have code which will loop through the rows in the spreadsheet but need help with opening a Word doc, updating the bookmarked places with data, and closing the document. Thank you very much in advance to anyone offering to help. :confused:
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Why not just use Word mail merge?
 
Upvote 0
Thanks very much for your response.
I didn't know that Word mail merge could do that.
The source spreadsheet may contain a few hundred rows of data which means I will end up with the same number of Word documents. Each Word document must have a name that consists of two of the columns on the row. Can Word mail merge do that?
 
Upvote 0

Forum statistics

Threads
1,215,020
Messages
6,122,709
Members
449,093
Latest member
Mnur

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