| Member with 32 posts. THREAD STARTER | | Join Date: Oct 2011 Experience: Intermediate | |
Solved: Copy data from Excel to Word Document Hello Everyone.
I need a help with the VBA macro.
I have one excel file & a word file. I need the data in the excel sheet to copy in to the word document.
This is what i need,
1. When you open the excel file, it has two columns Units & Comments.
2. The data in the Unit column need to replace this "XXXXXXXXXXXXX" in the word document,
3. The data in the Comments column need to replace this "cccccccc" in the word document,
4. once the unit column & comments column data is copied in to the word document. I need the word document to be saved with the file name of "XXXXXXXXXXXXX".
As a end result, i would have each file for each row in the excel file.
Is this possible? Could someone help me with this thing?
Thank you so much for looking in to this,
Last edited by vinotech; 02-Jun-2012 at 06:43 AM..
Reason: Missed to attach the file.
|