S
sugarboyrosnerd
Software: Word 2000
I have a template that uses header/footer protection code located at:
http://www.word.mvps.org/FAQs/Customization/ProtectWord2000PlusHeader.htm
(link graciously provided by Doug Robbins)
This protection works very well, but has spawned another issue.
PROBLEM:
If the user changes the page size or page orientation in a section, the
header and footer content no longer aligns with the new header and footer
margins. Since the header/footer is protected, the user can't adjust the
header/footer content alignment.
DETAILS:
This template needs to accept only the following page layout specfications.
Letter (8.5x11) page size – portrait orientation
Letter (8.5x11) page size – landscape orientation
Ledger (11X17) page size – portrait orientation
Ledger (11X17) page size – landscape orientation
MY SOLUTION THUS FAR:
I have created six styles to accomodate all acceptable page sizes and
orientations listed above. They are:
1. Header (Letter – portrait)
2. Header 11 (Letter – landscape; Ledger – portrait)
3. Header 17 (Ledger – landscape)
4. Footer (Letter – portrait)
5. Footer 11 (Letter – landscape; Ledger – portrait)
6. Footer 17 (Ledger – landscape)
Header and footer content contains docvariable fields that are updated by
userform values. Ideally, I would like to programatically align all header
and footer content based on the page size and page orientation, after the
userform that populates headers and footers is executed.
Can this be accomplished without the creation of the six styles listed above?
Is there a better way?
Am I making sense?
best wishes from Western Canada,
sugarboyrosnerd
I have a template that uses header/footer protection code located at:
http://www.word.mvps.org/FAQs/Customization/ProtectWord2000PlusHeader.htm
(link graciously provided by Doug Robbins)
This protection works very well, but has spawned another issue.
PROBLEM:
If the user changes the page size or page orientation in a section, the
header and footer content no longer aligns with the new header and footer
margins. Since the header/footer is protected, the user can't adjust the
header/footer content alignment.
DETAILS:
This template needs to accept only the following page layout specfications.
Letter (8.5x11) page size – portrait orientation
Letter (8.5x11) page size – landscape orientation
Ledger (11X17) page size – portrait orientation
Ledger (11X17) page size – landscape orientation
MY SOLUTION THUS FAR:
I have created six styles to accomodate all acceptable page sizes and
orientations listed above. They are:
1. Header (Letter – portrait)
2. Header 11 (Letter – landscape; Ledger – portrait)
3. Header 17 (Ledger – landscape)
4. Footer (Letter – portrait)
5. Footer 11 (Letter – landscape; Ledger – portrait)
6. Footer 17 (Ledger – landscape)
Header and footer content contains docvariable fields that are updated by
userform values. Ideally, I would like to programatically align all header
and footer content based on the page size and page orientation, after the
userform that populates headers and footers is executed.
Can this be accomplished without the creation of the six styles listed above?
Is there a better way?
Am I making sense?
best wishes from Western Canada,
sugarboyrosnerd