Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 09-05-2014, 05:19 PM
macropod's Avatar
macropod macropod is offline 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,362
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
  #2  
Old 09-09-2014, 08:19 AM
mmmconsulting mmmconsulting is offline Word 2013 just for master index and printing Windows 7 64bit Word 2013 just for master index and printing Office 2013
Novice
Word 2013 just for master index and printing
 
Join Date: Sep 2014
Posts: 4
mmmconsulting is on a distinguished road
Default

Thanks so much for your help so far.

I now need to create just a separate index, which, of course, the RD field should help with.

So I tried it with the following RD statements, but when I run the TOC, it says it can't find the files. They're in the same directory as the file I'm in.

{ RD "Introduction.docx" }
{ RD "RequestTimeOff.docx" }
{ RD "PayrollPolicies.docx" }

I notice that RD has a /f switch, so I tried all of the following combinations, but they don't work, either:

{ RD /f "Introduction.docx" }
{ RD "Introduction.docx" /f }
{ RD "/f Introduction.docx" }

This shouldn't be this difficult
Reply With Quote
Reply



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 09:05 AM.


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