Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
Hi,
This is kinda long and drawn out, so please bear with me. I'm working on a template in Word 2000 to use for documenting company procedures. I put a table at the top to contain the "vital stats" of the document: procedure name, procedure number, revision number, effective date, etc. I gave each of these entries a different style. The documents will vary in length and there's not really a comfortable way to use section breaks and the like without the user screwing it all up. Nor can I ask the user to manually populate the footers, or to do any document property settings. They either can't or won't. And my VBA skills would fit in a thimble, so I'd just as soon avoid that if possible. I thought I could use the StyleRef field to pick up these variables and place them in the footer, but it isn't working right. My table looks basically like: Col 1 Col 2 ------------------------------ Proc Name: [style ProcName] Procedure Name Proc No.: [style ProcNo] D32-6 Rev. No.: [style RevNo] 4 etc. I want the footer to read: [ProcNo]: [ProcName], [RevNo] Page x of y so my footer looks like this: {STYLEREF "ProcNo" \* MERGEFORMAT}: {STYLEREF "ProcName" \* MERGEFORMAT}, Rev. {STYLEREF "RevNo" \* MERGEFORMAT} The StyleRef call works beautifully on the first page, but on any following pages, the first two fields are blank and only the RevNo field is populated in the footer. I REALLY don't get why it works with the third field but not the first two, as they are all in the same footer paragraph and call info from the same table at the top of the doc. They are identically constructed, and each field calls a style that is only used once in the entire document. I tried the various field switches, but to no avail. The doc is all one section, and I did not enable Different First Page. I get the impression that Word inserts the text from the first instance of the designated style, but shouldn't it carry forward indefinitely until it finds another instance of the style rather than leaving it blank? I've spent hours on this. I must be doing something wrong. Please help!! I'd be happy to email my doc to someone if they want to take a look. Thanks Michael |
#2
![]() |
|||
|
|||
![]()
It should be working. I can't imagine why it isn't. Even if the referenced
styles were in a heading row set to repeat on each page, I still can't see why it wouldn't work. FWIW, I have a document template that does essentially the same thing (repeats the title and author of a short story, which appear only on the first page of each story), and it works fine. I just wonder if the table is somehow the problem. -- 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. "Morphing Michael" wrote in message oups.com... Hi, This is kinda long and drawn out, so please bear with me. I'm working on a template in Word 2000 to use for documenting company procedures. I put a table at the top to contain the "vital stats" of the document: procedure name, procedure number, revision number, effective date, etc. I gave each of these entries a different style. The documents will vary in length and there's not really a comfortable way to use section breaks and the like without the user screwing it all up. Nor can I ask the user to manually populate the footers, or to do any document property settings. They either can't or won't. And my VBA skills would fit in a thimble, so I'd just as soon avoid that if possible. I thought I could use the StyleRef field to pick up these variables and place them in the footer, but it isn't working right. My table looks basically like: Col 1 Col 2 ------------------------------ Proc Name: [style ProcName] Procedure Name Proc No.: [style ProcNo] D32-6 Rev. No.: [style RevNo] 4 etc. I want the footer to read: [ProcNo]: [ProcName], [RevNo] Page x of y so my footer looks like this: {STYLEREF "ProcNo" \* MERGEFORMAT}: {STYLEREF "ProcName" \* MERGEFORMAT}, Rev. {STYLEREF "RevNo" \* MERGEFORMAT} The StyleRef call works beautifully on the first page, but on any following pages, the first two fields are blank and only the RevNo field is populated in the footer. I REALLY don't get why it works with the third field but not the first two, as they are all in the same footer paragraph and call info from the same table at the top of the doc. They are identically constructed, and each field calls a style that is only used once in the entire document. I tried the various field switches, but to no avail. The doc is all one section, and I did not enable Different First Page. I get the impression that Word inserts the text from the first instance of the designated style, but shouldn't it carry forward indefinitely until it finds another instance of the style rather than leaving it blank? I've spent hours on this. I must be doing something wrong. Please help!! I'd be happy to email my doc to someone if they want to take a look. Thanks Michael |
#3
![]() |
|||
|
|||
![]()
Thanks for the input. Your wonderment was right... I took the text out
of the table and now it works as intended. S'pose I should have thought of that myself... but then if we all did that we wouldn't need you around! ![]() Michael |
Reply |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Section Name in Footer | New Users | |||
Change Footer on pg 2 to be different then the footer on pg 1 | Microsoft Word Help | |||
Same header but even/odd footer (sorry for the new thread) | Page Layout | |||
Text Form Field Ref in Footer Won't Update on Screen | Microsoft Word Help | |||
Table set to autofit in footer keeps vibrating... | Tables |