Microsoft KB Archive/64949

Edit Header/Footer Macro Command in Word for Windows

PSS ID Number: Q64949 Article last modified on 02-17-1993

1.10 WINDOWS

Summary: The “Microsoft Word for Windows Technical Reference” guide version 1.00 left some parameters out for the Edit Header/Footer macro command. These parameters have been included with the “Microsoft Word for Windows Technical Reference” for version 1.10, which is available by calling Microsoft Sales and Consumer Response at (800) 426-9400.

More Information: The following is a list of all parameters for the Edit Header/Footer macro command:

EditHeaderFooter
Syntax: EditHeaderFooter [Type], StartingNum[$], NumFormat, HeaderDistance[$], FooterDistance[$], FirstPage, OddAndEvenPages [Type] specifies header type in the following table:

The arguments correspond to a check box. If the argument is 1, the check box is on. If the argument is 0 (zero), the check box is off.

StartingNum[$]
The value at which to start page numbers

NumFormat
The format for page numbers, as in the following table:

HeaderDistance[$]
Distance from top of page in points

FooterDistance[$]
Distance from bottom of page in points

FirstPage
Corresponds to Different First Page check box

OddAndEvenPages
Corresponds to Different Odd And Even Pages check box

Additional reference words: w4wmacro