If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Using Forms in header and footer (or linking file properties)
Hi,
Anyway you can use "forms" fields in the header and footer? What I'm trying to do is to setup a template for an A size document that resembles a CAD template. Since not everyone has CAD, and only need to create A sized documents, we want a A-sized template. So first of the is a Revision block at the top of the page with 6 fields that need to be edited by every document creator. ONLY needs to be on the first page. Second is a title block at the bottom of the page with 9 fields to input. A SECOND simplified title block (only revalant fields) is on all following pages. The data in the 2 title blocks is the same. What about using "Custom Properties" in file properties to define all the fields. Anyway to link it to a textbox in the header/footer? Thanks |
#2
|
|||
|
|||
Using Forms in header and footer (or linking file properties)
DocProperty fields can be inserted in the header/footer. Form fields cannot,
and REF fields don't work in the header/footer of protected forms (but StyleRef fields do, and they update automatically). -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "LRI" wrote in message 48.16... Hi, Anyway you can use "forms" fields in the header and footer? What I'm trying to do is to setup a template for an A size document that resembles a CAD template. Since not everyone has CAD, and only need to create A sized documents, we want a A-sized template. So first of the is a Revision block at the top of the page with 6 fields that need to be edited by every document creator. ONLY needs to be on the first page. Second is a title block at the bottom of the page with 9 fields to input. A SECOND simplified title block (only revalant fields) is on all following pages. The data in the 2 title blocks is the same. What about using "Custom Properties" in file properties to define all the fields. Anyway to link it to a textbox in the header/footer? Thanks |
#3
|
|||
|
|||
Using Forms in header and footer (or linking file properties)
"Suzanne S. Barnhill" wrote in
: DocProperty fields can be inserted in the header/footer. Form fields cannot, and REF fields don't work in the header/footer of protected forms (but StyleRef fields do, and they update automatically). A couple of follow up questions. If I created a custom file property called "CO NUMBER", is there a way to create the field without going to InsertField ? Can I just type the following? DOCPROPERTY "CO NUMBER" \* Upper When I save the DocProperty don't update? How do I update the whole document? I've ready the help about StyleRef fields and I'm unclear what they are used for and if I want to use them. Could you elaborate... |
#4
|
|||
|
|||
Using Forms in header and footer (or linking file properties)
A couple of follow up questions. If I created a custom file property
called "CO NUMBER", is there a way to create the field without going to InsertField ? Can I just type the following? DOCPROPERTY "CO NUMBER" \* Upper You can insert any field manually if you know what the syntax of the field is. Press Ctrl+F9 to insert the field delimiters and then type the text between them. Updating of fields is always a problem in protected forms. Usually a macro of some sort is required (but don't ask me about about that!). I've ready the help about StyleRef fields and I'm unclear what they are used for and if I want to use them. Could you elaborate... I'm preparing an article on this and other uses of StyleRef fields, but it won't be published for a few days, so here's a summary. You can use a StyleRef field to pick up text in any given style and repeat it elsewhere on the page (the header or footer is the usual location). The style referenced can be either a paragraph or a character style. A character style doesn't have to differ from the default paragraph font in anything but name; you can apply a character style that does not change the appearance of the text at all, just marks text to be picked up by the StyleRef field. So if the data you want in the header appears anywhere on the page (for example, if it will be entered in a form field), you can apply a specific style to that form field and put a StyleRef field in the header to pick up that style. The text will appear in the header on every subsequent page until the field detects other text formatted with the referenced style. Obviously, if you want the text to appear on *every* page, you'll need to have the form field that provides it on the first page of the form. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "eagle" wrote in message ... "Suzanne S. Barnhill" wrote in : DocProperty fields can be inserted in the header/footer. Form fields cannot, and REF fields don't work in the header/footer of protected forms (but StyleRef fields do, and they update automatically). A couple of follow up questions. If I created a custom file property called "CO NUMBER", is there a way to create the field without going to InsertField ? Can I just type the following? DOCPROPERTY "CO NUMBER" \* Upper When I save the DocProperty don't update? How do I update the whole document? I've ready the help about StyleRef fields and I'm unclear what they are used for and if I want to use them. Could you elaborate... |
#5
|
|||
|
|||
Using Forms in header and footer (or linking file properties)
Thanks for the summary on StyleRef. I won't use them for this application,
but I'm sure in the future I'll be able to put them to good use. I have a question about Inserting pages. Is there away to insert a page from a template. Since I have a need for two different "backgrounds" or title blocks, I'm using a section break with two different headers/footers. Therefore in my template I need the 2 pages defined. Now what if you only need one page. Then people need to delete the second page. Is that easily done with a second section defined? Also, if you have a document at REV-A with only 1 page and it needs updating to REV-B which requires adding pages, how do you add those second, third, etc. pages with a different background from the first page? Thats why I would like to be able to go InsertPageFrom Template... and have a template for the first page and one for the following pages. Possible? |
#6
|
|||
|
|||
Using Forms in header and footer (or linking file properties)
You don't need a section break to get different headers and footers if the
different "background" is needed only on the first page. If you check "Different first page" on the Layout tab of Page Setup, you'll get a separate First Page Header/Footer and Header/Footer. You create both of these, then delete the second page. Word will remember the Header/Footer when they are needed. For more on this, see http://sbarnhill.mvps.org/WordFAQs/Letterhead.htm -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "LRI" wrote in message 48.16... Thanks for the summary on StyleRef. I won't use them for this application, but I'm sure in the future I'll be able to put them to good use. I have a question about Inserting pages. Is there away to insert a page from a template. Since I have a need for two different "backgrounds" or title blocks, I'm using a section break with two different headers/footers. Therefore in my template I need the 2 pages defined. Now what if you only need one page. Then people need to delete the second page. Is that easily done with a second section defined? Also, if you have a document at REV-A with only 1 page and it needs updating to REV-B which requires adding pages, how do you add those second, third, etc. pages with a different background from the first page? Thats why I would like to be able to go InsertPageFrom Template... and have a template for the first page and one for the following pages. Possible? |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
header footer not showing when opening new document | PWalker | General Discussions | 1 | September 5th, 2005 09:18 PM |
Header - Footer question... | Ray W. | New Users | 2 | June 16th, 2005 06:38 PM |
Same header but even/odd footer (sorry for the new thread) | B?atrice Karjalainen | Page Layout | 1 | December 16th, 2004 12:40 AM |
Headers and Footers | Specter7 | New Users | 2 | May 17th, 2004 03:51 PM |
Excel-Footer Mass change of only Header and not footer | M.Raguram | Worksheet Functions | 1 | January 16th, 2004 12:30 PM |