Alternating Positioning of Header

G

gawarner

Version: 2008 Operating System: Mac OS X 10.6 (Snow Leopard) Processor: Intel I'm writing a reference book, using Word 2008 if it will do what I need it to do. Each chapter will be its own section so that I can have a unique header, and I'll suppress the header on the first page of each chapter. However, I want both the header and page number to be to the left on even pages, and to the right on odd ones, and I can't seem to find a way to do this.

I used Word 2003 for Windows to write the first book I did, and I ended up hiring a guy to write a VB macro to do this, but 2008 for Mac doesn't support VB macros, so I can't make use of that. Is there a way to do what I'm trying to do within the capabilities of the application itself?

Thanks in advance for any guidance you can provide.
 
C

CyberTaz

If you actually needed VBA there must be more to your requirement than what
you've described. It sounds to me like you need only investigate the use of
Format> Document - Layout - Different Odd and Even and perhaps the use of
Odd/Even Page Section Breaks.

HTH |:>)
Bob Jones
[MVP] Office:Mac
 
G

gawarner

Ah, okay. In my test doc, I set the sections each to Different Odd & Even, but it still left-justifies each one. Regarding "Odd/Even Page Section Breaks", can you tell me where I may find those, and how to use them, explained? The help screens do not seem to cover that. Thanks.
 
J

John McGhie

I am not sure that we have fully understood your requirement (at least... I
haven't...)

You are creating a Reference Book: So you want the name of the current
Chapter in the left header, and the name of the current topic in the right
header?

And you want each Chapter to begin on a Recto (right-hand...) page?

This is easy, and you don't need a macro. But I do suggest that you read
the following instructions through twice before you do anything. While it's
easy, it must be done exactly this way, and in this sequence, or it won't
work :)

First, we get the default section break working for the whole document.

1) Use Find/Replace to find all section breaks and replace them with
nothing. We want to delete them all so we know where we are in the
document.

Now we can set up the Default Section Break, which is below the document
content and thus can never be seen, or deleted.

2) Go to Format>Document>Layout and set "Section start" to "Odd Page."

3) Check "Different odd and even" and "Different first page" to ON.

4) Now go to View>Header and Footer.

You will now see a First Page header, a Left Header and a Right Header in
the document (if you do not, you need to create at least three pages, so
that you can see these things...)

5) Leave the First page header blank: you don't need it, the Chapter Title
will do the job for you.

6) Skip to the Even Page header and use Insert>Field>Links and References
"StyleRef". Click the Options button, go to the Styles tab and choose
"Heading 1" as the style.

While you're in there, drop down to the Footer and insert a Page Number on
the left.

7) Now go to the Odd Page footer and do the same thing, this time choosing
the "Heading 2" style.

While you're in there, drop down to the footer and insert a page number, and
tab it across to the right margin. Word applies a style of Footer by
default in the footers, and that style has a Centre tab and a Right Tab
automatically set in the correct positions.

Now, every Even Page header in the document will contain the closest Chapter
Title. Every Odd Page header will contain the closest previous Topic
Heading.

Al we have to do now is to force the Chapter starts onto an Odd Page. To do
that:

8) Immediately before each chapter, insert an Odd Page section break (use
Insert>Break...)

There you go! Job's done, and no macros.

Notes:

It is important to remove the old section breaks first. If you then get the
Default Section Break (which you can't see) correct, each time you insert a
section break after that, it will be a copy of the Default section break, so
you will only have to set the properties ONCE. If you do not remove the
other section breaks first, you will have to carry out all 8 steps for every
section break in the document!

This process assumes that you use the built-in style Heading 1 for your
Chapter titles. If you didn't, change it now: using other styles makes for
far too much work.

This also assumes that you start each new topic with a Heading 2 style. If
you didn't, change that too.

The StyleRef field simply replicates the closest previous text of each style
into the headers and footers for you.

The added section breaks will force a blank sheet when you print if needed
to get the chapters starting on recto pages. The blank sheet is totally
blank, you will not be able to see it unless you print.

Hope this helps

Ah, okay. In my test doc, I set the sections each to Different Odd & Even,
but it still left-justifies each one. Regarding "Odd/Even Page Section
Breaks", can you tell me where I may find those, and how to use them,
explained? The help screens do not seem to cover that. Thanks.

This email is my business email -- Please do not email me about forum
matters unless you intend to pay!
 
G

gawarner

John, I haven't had a chance to work through all this yet -- only been able to do a first read-through -- but I have to say thank you, thank you. This appears to be right on. I'll work through it tomorrow and report back. Again, thanks.
 

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