![]() |
|
#1
|
|||
|
|||
![]()
How do I create a single sequentially numbered Word document from multiple Word docs that each have their own auto text file and page formatting in the headers/footers?
|
#2
|
||||
|
||||
![]()
Hi Bobmard,
You can use INCLUDETEXT fields for this. If you want to include the page Header & Footer info from the source documents, they'll need a Section break at the end. And, if you want to preserve the source documents' page numbering, be sure to add the '\!' switch to the INCLUDETEXT fields. See Word's Help file for details.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
|||
|
|||
![]() Quote:
|
#4
|
||||
|
||||
![]()
Hi Bobmard,
Quote:
OK, you should be able to do the insertion via Insert|Quick Parts|Field. Or you can create one via Ctrl-F9. Using Ctrl-F9 to create the field braces (ie '{}'), you'd simply fill in between the field braces so that you end up with: {INCLUDETEXT "Drive:\\Filepath\\Filename.Extension"} or: {INCLUDETEXT "Drive:\\Filepath\\Filename.Extension" \!} (per my advice above) Note that, whichever method you use, the path separators must have double backslashes. And, if you want to refer to just a part of another document, you bookmark that range and use: {INCLUDETEXT "Drive:\\Filepath\\Filename.Extension" "bookmark name"}
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#5
|
|||
|
|||
![]()
The exact instructions for sequential numbering of multiple Word documents is here http://homepage.swissonline.ch/cindy...r/MiscFram.htm.
So, I placed the following in the footer of the last page of Chapter 2: { = {PAGE} + {INCLUDETEXT "N:\\`BPH Staff Folders\\HHare\\Numbering\\ Chap1.doc" Chap1Page \ Charformat \! }} but unfortunately, it resolves to "!Unexpected End of Formula". What am I doing wrong? Hope |
#6
|
|||
|
|||
![]()
Continuing with the problem.
Hope |
#7
|
||||
|
||||
![]()
Hi HopeHare,
If you're trying to import the page number count from the 'Chap1' document, you need to create a bookmark in that document containing a NUMPAGES field. For example, you could put a field coded as follows in the document header or footer: {SET PageCount {NUMPAGES}} You most definitely do not want a field that includes text in the output (eg your 'Test 1'). Then, in the target document, use a field coded as: {={PAGE}+{INCLUDETEXT "N:\\BPH Staff Folders\\HHare\\Numbering\\Chap1.doc" PageCount}} or, if you want proper support for relative paths to files in the same folder: {={PAGE}+{INCLUDETEXT "{FILENAME \p}/../Chap1.doc" PageCount}} Notes: 1. The field brace pairs (ie '{ }') for the above sare created via Ctrl-F9 - you can't simply type them or copy & paste them from this message; 2. You don't need any spaces between the forumla operators; 3. the \! switch is only useful if you want to prevent the source document updating its last-updated page count; 4. the Charformat switch doesn't do anything useful in this context; and 5. If you're combining the page counts from multiple documents, each source document can use the same bookmark name. This makes things a bit simpler, so that you can use a compound field coded along the lines of: {={PAGE}+{INCLUDETEXT "{FILENAME \p}/../Chap1.doc" PageCount}+{INCLUDETEXT "{FILENAME \p}/../Chap2.doc" PageCount}}
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#8
|
|||
|
|||
![]()
Worked like a champ! Except, now I have another problem. I have used the following method to create a TOC for multiple documents:
1. In the TOC document , go to Insert => Reference =>Index and Tables. Select Table of Contents, click to insert. Result: Error message: “No table of contents entries found”. This is correct. Now we supply the entries. 2. Insert field brackets, and type RD “document name.doc” between the brackets--e.g, { RD “Chapter 1.doc” } Repeat for each document. Note that document name is within quotes. 4. Right click in TOC area, select ‘update’. TOC displays. However, the TOC displays the real page numbers, not the adjusted numbers created by the code. Any suggestions on how to fix this? Many thanks for your help, Hope |
#9
|
|||
|
|||
![]()
Thank you very much, Macropod! I appreciate your very clear and helpful response. I shall now test the procedure on one of our gigantic 13 chapter reports.
Hope |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
frankdh | Word | 2 | 11-02-2010 10:59 AM |
![]() |
ktpalmer | Excel | 2 | 06-23-2010 06:54 AM |
Please help with Numbering a document with multiple letters. | DJReality213 | Office | 1 | 01-15-2010 05:56 PM |
Amend footer in multiple word docs? | compact | Word | 2 | 02-24-2009 09:40 AM |
![]() |
reitdesign | Word | 3 | 12-12-2008 11:55 AM |