Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 09-05-2014, 05:19 PM
macropod's Avatar
macropod macropod is online now Word 2013 just for master index and printing Windows 7 64bit Word 2013 just for master index and printing Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,528
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

Quote:
Originally Posted by mmmconsulting View Post
Also, I created my "source" file (the one with all the INCLUDETEXT commands) in the same directory as the files I'm including. That way I can make the INCLUDETEXT a little shorter, using a relative path:

{ INCLUDETEXT "Introduction.docx" \* MERGEFORMAT }
{ INCLUDETEXT "RequestTimeOff.docx" \* MERGEFORMAT }
{ INCLUDETEXT "PayrollPolicies.docx" \* MERGEFORMAT }
Whilst that will work provided everything remains in the current folder, you're liable to find it'll break when the files are moved to a different folder, especially if different Word versions become involved. To make this workable across all folders & Word versions, using your first example:
1. insert /../ thus:
{ INCLUDETEXT "/../Introduction.docx" \* MERGEFORMAT }
2. Press Ctrl-F9 before the first /, to create a pair of field braces, thus:
{ INCLUDETEXT "{ }/../Introduction.docx" \* MERGEFORMAT }
3. Fill in between the field braces, thus:
{ INCLUDETEXT "{FILENAME /p}/../Introduction.docx" \* MERGEFORMAT }

The same approach can be used for HYPERLINK fields, RD fields and INCLUDEPICTURE fields, though you need to at least temporarily switch to the .doc format to be able to access INCLUDEPICTURE field codes.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Stability of Master Documents in Word 2013 mstratil Word 11 09-04-2014 11:24 AM
Word 2013 just for master index and printing Hide non-master, non-themed objects for printing lineweaver PowerPoint 1 05-20-2013 01:10 AM
Word 2010 / Master Index / Multiple Documents bawrites Word 0 08-09-2011 11:02 AM
Printing Index Cards bOB 1927 Word 0 01-26-2010 06:51 PM
printing task list on index card via avery 5388 pkshiu Outlook 0 09-14-2005 07:36 AM

Other Forums: Access Forums

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