#1
|
|||
|
|||
Add data from two Excel Files to Word Doc Template
For my job I send out medical record requests for clients. I have one excel file containing all the hospital information where I send letter for the records. I have another excel file with a list of our client names and info that is needed to create the request.
My question is, how can I create a template where the address field is populated by the hospital excel file and the client info field is populated by the client info excel file. I tried a regular mail merge, but it won't let me use two different excel files. Any help would be very much appreciated. |
#2
|
||||
|
||||
That depends on whether these letters are generated individually, on-demand, with someone choosing which client & hospital each time, or whether you're doing a bulk process with multiple clients (not necessarily the same) listed on each of several letters to different hospitals.
More details needed.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
||||
|
||||
Cross-posted at: https://social.technet.microsoft.com...ate?forum=word
For cross-posting etiquette, please read: http://www.excelguru.ca/content.php?184
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#4
|
|||
|
|||
The letters are generated individually with a different client and different hospital each time.
|
#5
|
||||
|
||||
While it is possible to use a mailmerge with two or more source files, doing so isn't something that seems appropriate to your situation. I'd suggest employing a user-form with listboxes that you can populate from each of the source workbooks. Once the client and hospital are selected, a command button could be used to populate bookmarks in the document. For some code to populate userform listboxes from an Excel data source, see: http://www.gmayor.com/Userform_ComboBox.html
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
Tags |
word excel merge |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Merge the data from different excel files. | Sandhya | Excel Programming | 2 | 10-10-2015 02:53 PM |
Data Import from multiple word files into an Excel tale | asmanokhchi | Word | 1 | 04-21-2015 06:24 AM |
Looking for Advanced Excel training books with tutorials and data files. | thousman | Excel | 1 | 04-02-2014 12:16 PM |
Downloading data from AS400 to Excel template | Milney01 | Excel | 2 | 06-29-2012 12:06 AM |
Excel 2007 template that updates other files? | joelas | Excel | 0 | 01-24-2012 07:12 AM |