Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-08-2016, 07:09 AM
nivolaped nivolaped is offline Add data from two Excel Files to Word Doc Template Windows 7 64bit Add data from two Excel Files to Word Doc Template Office 2010 64bit
Novice
Add data from two Excel Files to Word Doc Template
 
Join Date: Apr 2016
Posts: 2
nivolaped is on a distinguished road
Default 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.
Reply With Quote
  #2  
Old 04-08-2016, 05:06 PM
macropod's Avatar
macropod macropod is offline Add data from two Excel Files to Word Doc Template Windows 7 64bit Add data from two Excel Files to Word Doc Template Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

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]
Reply With Quote
  #3  
Old 04-08-2016, 08:36 PM
macropod's Avatar
macropod macropod is offline Add data from two Excel Files to Word Doc Template Windows 7 64bit Add data from two Excel Files to Word Doc Template Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

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]
Reply With Quote
  #4  
Old 04-10-2016, 03:11 PM
nivolaped nivolaped is offline Add data from two Excel Files to Word Doc Template Windows 7 64bit Add data from two Excel Files to Word Doc Template Office 2010 64bit
Novice
Add data from two Excel Files to Word Doc Template
 
Join Date: Apr 2016
Posts: 2
nivolaped is on a distinguished road
Default

The letters are generated individually with a different client and different hospital each time.
Reply With Quote
  #5  
Old 04-10-2016, 04:23 PM
macropod's Avatar
macropod macropod is offline Add data from two Excel Files to Word Doc Template Windows 7 64bit Add data from two Excel Files to Word Doc Template Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

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]
Reply With Quote
Reply

Tags
word excel merge



Similar Threads
Thread Thread Starter Forum Replies Last Post
Add data from two Excel Files to Word Doc Template 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
Add data from two Excel Files to Word Doc Template 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

Other Forums: Access Forums

All times are GMT -7. The time now is 07:54 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft