Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-05-2014, 10:18 AM
nightale nightale is offline How to extract data from Excel database to create word report for each patient (row) Windows 7 64bit How to extract data from Excel database to create word report for each patient (row) Office 2013
Novice
How to extract data from Excel database to create word report for each patient (row)
 
Join Date: Jul 2014
Posts: 2
nightale is on a distinguished road
Default How to extract data from Excel database to create word report for each patient (row)

Hi guys,



I'm looking for a way to pull some data from my Excel database to create a word report. Basically, each row in Excel equals to one patient. Each column is a variable regarding that patient, i.e. pretty elementary stuff.

I've made a Word template, but I'd like to find a way to automatically populate the data in the Word report so I can print it easily and add it to the file (see the screenshot, it'll be much clearer).

I guess there is some kind of macros that could save me the hassle of manually finding each value for each and every patient, but I'm struggling as to where to start... Am I seeing this the wrong way? Do I need to start from Excel and output the data into a pre-defined template, i.e.the word report?

Any help?

Regards,
Max


Last edited by nightale; 07-06-2014 at 08:46 AM.
Reply With Quote
  #2  
Old 07-05-2014, 08:43 PM
macropod's Avatar
macropod macropod is offline How to extract data from Excel database to create word report for each patient (row) Windows 7 32bit How to extract data from Excel database to create word report for each patient (row) 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

What you're describing is a mailmerge. See:
http://office.microsoft.com/en-us/wo...101857701.aspx
http://word.mvps.org/FAQs/MailMerge/...AMailMerge.htm
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 07-06-2014, 08:46 AM
nightale nightale is offline How to extract data from Excel database to create word report for each patient (row) Windows 7 64bit How to extract data from Excel database to create word report for each patient (row) Office 2013
Novice
How to extract data from Excel database to create word report for each patient (row)
 
Join Date: Jul 2014
Posts: 2
nightale is on a distinguished road
Default

Thank you!

Also, I've managed to get around the 255 columns limit by export my spreadsheet in csv and importing it in the mail merge wizard.

Regards,
Max
Reply With Quote
  #4  
Old 07-06-2014, 04:17 PM
macropod's Avatar
macropod macropod is offline How to extract data from Excel database to create word report for each patient (row) Windows 7 32bit How to extract data from Excel database to create word report for each patient (row) 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

Mailmerges with Excel data sources can handle more than 255 columns - the extra just don't show in the helper tools, that's all. So there's no need to use a csv file. If you change the data source back to the Excel workbook, it should continue to work fine.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to extract data from Excel database to create word report for each patient (row) How to Extract key data from word iliauk Word 3 11-08-2013 04:37 PM
How to extract data from Excel database to create word report for each patient (row) Projects Cash Flow Report in Excel not creating monthly data gardwr Project 2 09-02-2013 09:10 AM
Easy send/save Excel data to Database Table or Stored Procedure TonyHarvard Excel 3 07-11-2012 12:43 PM
How to extract data from Excel database to create word report for each patient (row) How do I dynamically update data in a Word Document from a database table RSchmidt Word 1 07-14-2011 04:27 PM
How to extract data from Excel database to create word report for each patient (row) Create a "report" in MS Word from an Excel file KC3K7 Excel 1 06-04-2009 07:13 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:39 PM.


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