![]() |
|
![]() |
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
![]() I was hoping that there was a way to possibly program a macro to hit a special ctrl+"letter" to insert the file path to the last page of a document. The closest I've come is adding a footnote but that adds it to every page and not what I am looking for. I'm also not a programmer so I really don't understand the complex language thats involved with programming it on my own Last edited by Charles Kenyon; 03-07-2014 at 07:18 PM. Reason: Mark as solved |
#2
|
|||
|
|||
![]()
This would be a calculated page field.
First, these fields must be constructed by hand, you can't just insert them. Second, the braces { } or field delimiters must be entered in pairs using Ctrl+F9. This is something that can be done. It is straightforward, but there are a lot of steps in the setup. The basic fields are { PAGE } and { NUMPAGES }. I will first show you the field you need. Then I will take you step-by-step on how to construct the field. Finally, I will take you through the steps to put it in your footer. Then I will show you how to save it as a building block AutoText. Finally, if you want, I will show you how to make it a Footer Building Block. I will post this in pieces. Start, in your document, by typing PAGE or page or Page. Select the word you typed and press Ctrl+F9. Then press F9. While I'm typing, you might want to look at How to control the page numbering in a Word document. |
#3
|
|||
|
|||
![]()
The field that will print a page number only on the last page is:
{IF { PAGE } = { NUMPAGES } "{ PAGE }" } This will only work if page numbering has not been restarted. If you are restarting page numbering at the beginning of a section, then try the { SECTIONPAGES } field instead of { NUMPAGES }. To create this field, on the last page of your document, type the field without the field codes (or copy from below and paste): IF PAGE < NUMPAGES "PAGE" Then select each PAGE and Press Ctrl+F9, then F9 for each. If you are on page 25 it should then look like this: IF 25 = NUMPAGES "25" Then do the same thing for NUMPAGES (or SECTIONPAGES). It should look like this: IF 25 = 25 "25" Then select the entire field (IF 25 = NUMPAGES "25") and Press Ctrl+F9, then F9 You should see 25. If you copy and paste this field to any page other than the last page, nothing will show. Copy the field. Insert > Footer > Edit Footer. Paste the field where you want it in the footer. If you have more than one footer, copy it to all of them. (Each section has three footers, even though you may not see them all. |
#4
|
|||
|
|||
![]()
If this field in the footer does what you want, let me know and I'll take you through the steps of saving building blocks so you can easily reproduce it in the future.
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Pws | Word | 5 | 02-24-2014 11:54 PM |
![]() |
Smallweed | Word Tables | 3 | 09-17-2013 08:24 AM |
![]() |
pieter_bruegel | Word | 3 | 04-24-2012 03:48 AM |
![]() |
bad_dog81 | Word | 1 | 07-08-2011 02:54 AM |
![]() |
Perseid | Word | 3 | 06-16-2011 07:36 PM |