Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-25-2013, 11:10 AM
jmaxcy jmaxcy is offline Inserting text from one word file into another based on an excel input Windows 8 Inserting text from one word file into another based on an excel input Office 2010 64bit
Novice
Inserting text from one word file into another based on an excel input
 
Join Date: Oct 2013
Posts: 6
jmaxcy is on a distinguished road
Default Inserting text from one word file into another based on an excel input

I'm not sure this is possible. Anyways, here is what I am trying to accomplish.

I have a word document that is populated using reference links from an excel file. Part of this document is a breakdown of the economic conditions at the time, which is dependent on what date is entered into my excel file. The economic conditions write ups are produced quarterly and stored in a separate word file. We currently manually copy and paste the text from the apropriate file into our document.

So for instance, if the date entered into the excel file is January 31, 2013, we would currently manually enter the text from the Q1 - 2013 word document we have saved in a separate file. If the date was November 30, 2012, we would copy and paste the text from the Q4 - 2012 word document and so on.

My question ultimately is, is there anyway to populate the text from the Q1-2013 word document into our linked word document based on the input in the excel file?

What I would like to happen is the user can put in a date, and based on the date, the text of the quarterly economic conditions word document be updated in our linked word document?

The text in the quarterly word docs is far too long to attempt to re-type into a concatenation formula.

I hope this makes sense, however I'm not sure it's possible.



Any help is greatly appreciated!

Thanks!

JM
Reply With Quote
  #2  
Old 10-25-2013, 03:06 PM
fumei fumei is offline Inserting text from one word file into another based on an excel input Windows 7 64bit Inserting text from one word file into another based on an excel input Office XP
Expert
 
Join Date: Jan 2013
Posts: 440
fumei is on a distinguished road
Default

Yes I think it is possible. It iis not clear if you are working from Excel or Word. However, look up INCLUDETEXT for Word.

Say you are working in Excel (as in you generate the Word document from Excel). You get the date from whatever input in Excel. Using some sort of logic, e.g.

January 31, 2013 means use the Q1 - 2013 word document

if the text in the Q1 - 2013 word document is bookmarked, you can use INCLUDETEXT to insert that bookmarked text into any document you like.
Reply With Quote
  #3  
Old 10-28-2013, 03:48 AM
macropod's Avatar
macropod macropod is offline Inserting text from one word file into another based on an excel input Windows 7 32bit Inserting text from one word file into another based on an excel input Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
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

To link to an Excel file, you'd use a LINK field. Simply copying & pasting from Excel, using 'paste special' with the 'paste link' option will give you both the link and a choice of paste formats.

The key to the method's success in this case is to not expect Word to find a different set of cells for each period; if necessary, create an output sheet with whatever linking formulae are required to retrieve the data of interest into a set of cells that can be used for any month.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #4  
Old 11-01-2013, 01:26 AM
macropod's Avatar
macropod macropod is offline Inserting text from one word file into another based on an excel input Windows 7 32bit Inserting text from one word file into another based on an excel input Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
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

Duplicate post at: https://www.msofficeforums.com/excel...o-another.html
Please don't post the same question in multiple forums.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Tags
populate, reference links



Similar Threads
Thread Thread Starter Forum Replies Last Post
Inserting text from one word file into another based on an excel input Inserting text from one word file into another based on an excel input jmaxcy Excel 14 11-01-2013 04:07 PM
Inserting text from one word file into another based on an excel input Update Word table based on another table input mpdsal Word VBA 10 10-29-2012 07:40 AM
Inserting text from one word file into another based on an excel input Input from excel, output to word conradin Word 3 04-20-2011 07:48 PM
Look up an array based on user input johnsmb Excel 2 01-07-2011 01:12 PM
Inserting 'Text from File' without loosing formatting OverAchiever13 Word 2 05-28-2010 12:24 PM

Other Forums: Access Forums

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