Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-11-2015, 09:08 AM
mruetz mruetz is offline Integrating Excel Data into Word Document Windows 7 64bit Integrating Excel Data into Word Document Office 2007
Novice
Integrating Excel Data into Word Document
 
Join Date: Dec 2011
Posts: 10
mruetz is on a distinguished road
Question Integrating Excel Data into Word Document

I need to import data that I load into Excel from another application, into a word report file. I had tried using the link function where you can create a linkage between Excel and Word. This did work, but I found the links would break, when sharing files via email etc. and I also need to refresh Excel data from the application and want these updated values to be reflected in the report. Each row in the Excel data has a unique name and then some cells of that same record have fields that I would want to import. I was thinking I might be able to have tags in the word report which could be replaced by the Excel data when I finalize. So for example the line in the Word document might look like this:

The detail narrative wording for process A is as follows: <Process A><Narrative>
The summary narrative wording for process A is as follows: <Process A><Summary>
The detail narrative wording for process B is as follows: <Process B><Narrative>
The summary narrative wording for process B is as follows: <Process B><Summary>

Then in Excel, I would have the data such as
Process A, Here is the narrative text A, Here is the summary text A
Process B, Here is the narrative text B, Here is the summary text B
Process C, Here is the narrative text C, Here is the summary text C

I was thinking a VLOOKUP or something similar would be great to pull from Excel but I don't believe that will work from a Word document.

Any ideas on how to approach this would be appreciated.



Thanks, Matt
Reply With Quote
  #2  
Old 02-11-2015, 04:57 PM
mruetz mruetz is offline Integrating Excel Data into Word Document Windows 7 64bit Integrating Excel Data into Word Document Office 2007
Novice
Integrating Excel Data into Word Document
 
Join Date: Dec 2011
Posts: 10
mruetz is on a distinguished road
Default

OR

Does anyone know how to maintain the links between Excel and Word when the files are transferred to a different machine?
Reply With Quote
  #3  
Old 02-11-2015, 09:49 PM
macropod's Avatar
macropod macropod is offline Integrating Excel Data into Word Document Windows 7 64bit Integrating Excel Data into Word Document 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 may be amenable to mailmerge. With a mailmerge, the output remains static (though you could use a preview, if that's all you need), that has its own advantages and generating an update is as simple as re-executing the merge. That also obviates any linkage issues when the mailmerge output document is emailed to someone else.

If, for some reason, you need to email the mailmerge main document, rather than the output document, re-establishing the mailmerge connection is much simpler than updating perhaps dozens of separate links.

If you're wedded to using links, though, and the email recipient's computer isn't connected to your network, you'll need to send the Excel workbook as well. Provided the Word document and the Excel workbook are stored in the same folder, you can use the macro attached to my post at http://windowssecrets.com/forums/sho...External-Files to do the link updating.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #4  
Old 03-06-2015, 10:19 AM
mruetz mruetz is offline Integrating Excel Data into Word Document Windows 7 64bit Integrating Excel Data into Word Document Office 2007
Novice
Integrating Excel Data into Word Document
 
Join Date: Dec 2011
Posts: 10
mruetz is on a distinguished road
Default

Thanks Paul for this I am in the process of trying this solution.
Reply With Quote
  #5  
Old 03-06-2015, 12:27 PM
mruetz mruetz is offline Integrating Excel Data into Word Document Windows 7 64bit Integrating Excel Data into Word Document Office 2007
Novice
Integrating Excel Data into Word Document
 
Join Date: Dec 2011
Posts: 10
mruetz is on a distinguished road
Default

I have added the macro and this works great. Thanks for your help on this one, this has been a huge help. Looks like as long as the excel and word file are in the same directory all works perfectly.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Populate Word Drop-down list with Excel column then auto fill form fields with Excel data Faldinio Word VBA 7 10-19-2014 06:03 AM
Integrating Excel Data into Word Document VBA Code for clean all data from ms word document egyp7 Word VBA 4 05-16-2014 03:59 PM
A serious problem in integrating text file with an Excel file? mradmin Excel 12 10-25-2013 07:43 AM
Integrating Excel Data into Word Document Help Plz! Link Excel data to Word document cory_0101 Office 1 09-27-2012 07:15 PM
Export data from multiple attachments into a single excel document Woolstar Outlook 0 12-07-2011 09:49 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:58 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