Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 10-30-2022, 02:21 PM
macropod's Avatar
macropod macropod is offline How to get the data on a word document from a different document Windows 10 How to get the data on a word document from a different document Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
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

Only the destination document needs the INCLUDETEXT field. You can approach the problem in either of two ways:

1. Have a source document listing both Tesco and Sainsburys, with both Tesco and Sainsburys bookmarked appropriately. Then, in each destination document, have an INCLUDETEXT field coded along the lines of:
{INCLUDETEXT “C:\\Users\\Pascual\\Desktop\\customers.docx” Tesco}, or
{INCLUDETEXT “C:\\Users\\Pascual\\Desktop\\customers.docx” Sainsburys}
as applicable; or

2. Have a separate source document for each company. Then, in each destination document, have an INCLUDETEXT field coded along the lines of:
{INCLUDETEXT "C:\\Users\\Pascual\\Desktop\\all the customers\\Tesco.docx"}, or
{INCLUDETEXT "C:\\Users\\Pascual\\Desktop\\all the customers\\Sainsburys.docx"}

You may also find the relative paths discussion in https://www.msofficeforums.com/word/...nal-files.html useful.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro to extract bookmarked data from Word document and insert into another Word Document VStebler Word VBA 3 05-03-2018 05:02 PM
How to get the data on a word document from a different document Extracting data from excel document using word PRA007 Word VBA 18 11-27-2015 11:17 PM
Integrating Excel Data into Word Document mruetz Word 4 03-06-2015 12:27 PM
How to get the data on a word document from a different document VBA Code for clean all data from ms word document egyp7 Word VBA 4 05-16-2014 03:59 PM
How to get the data on a word document from a different document Help Plz! Link Excel data to Word document cory_0101 Office 1 09-27-2012 07:15 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:27 PM.


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