Syntax
ViewHeader
ViewHeader()
Remarks
The ViewHeader statement switches the active document to page layout view, positions the insertion point in the header area, and then displays the Header
And Footer toolbar. If the Header And Footer toolbar is already displayed, ViewHeader hides it and moves the insertion point to the document area.
The ViewHeader() function returns the following values.
Value | Explanation |
0 (zero) | If the insertion point is not in the header area |
–1 | If the insertion point is in the header area |
See Also
ViewFooter