How to change header width

J

Jun

Hi, there,

My document contains a series tables. I recorded a macro in Word 2000
to change my document orientation from landscape to potrait after
deleting a column in each of the tables. But the headers in my file
are still in landscape, and the page numbers on the right side of
header are out of range. I couldn't find a proper control for the
header width. Could anyone tell me how to solve the problem?

TIA

Jun
 
J

Jean-Guy Marcil

Bonjour,

Dans son message, < Jun > écrivait :
In this message, < Jun > wrote:

|| Hi, there,
||
|| My document contains a series tables. I recorded a macro in Word 2000
|| to change my document orientation from landscape to potrait after
|| deleting a column in each of the tables. But the headers in my file
|| are still in landscape, and the page numbers on the right side of
|| header are out of range. I couldn't find a proper control for the
|| header width. Could anyone tell me how to solve the problem?
||

It depends on the content of the Header.

If all you have in the header is the page number on the right side:
Then instead of using a Tab stop (which is probably why it is "out of
range"), right align the paragraph. This way, regardless of the width of the
page, the number will always be on the right side.

If you have text on the left and the number all on the right on the same
line:
An easy way out is to create a "Landscape Header" style and a "Portrait
Header" style. In both style, set the tab stop at the appropriate distance
form the left margin. When your macro switches the page from landscape to
portrait, just change the style of the header and the new tab stop will be
in place.

--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 
C

Charles Kenyon

You may want to create a Header Landscape style to hold the formatting for
your landscape pages and reserve the Header style for your portrait pages.
Have your macro change the style when changing the orientation.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top