A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Formatting Long Documents
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Separate style of header and footer reverts



 
 
Thread Tools Display Modes
  #1  
Old August 8th, 2007, 04:28 PM posted to microsoft.public.word.formatting.longdocs
SK[_2_]
external usenet poster
 
Posts: 3
Default Separate style of header and footer reverts

Hello

I have a document template which is 3 pages long.

The first is a cover sheet
The second is a table of contents
The third is blank ready for text to be entered

The first two pages are portrait orientation and have the same style
header and footer.
The third page is landscape with its own independent header and footer
design (with "same as previous" in the header/footer toolbar switched
off)

Here is where it gets interesting:
I have a bookmark on the third page ("StartText"), which indicates
where the macro I have written should start populating with text
(insert an htm file to be precise), and then it goes through this new
text reformatting tables.

the macro runs fine, and all the following pages are indeed still
landscape HOWEVER:
The header and footer revert to the first design - the design of page
one and two.

what's even weirder is that if I just type in text on page 3, when it
runs on to page 4 it does what it is supposed to do, and uses the page
three header/footer design.

Can anyone explain why this is happening and/or provide me with a
solution/workaround?

Cheers,

SK

  #2  
Old August 8th, 2007, 04:44 PM posted to microsoft.public.word.formatting.longdocs
SK[_2_]
external usenet poster
 
Posts: 3
Default Separate style of header and footer reverts

Woops forgot to mention Using Word 2003

  #3  
Old August 8th, 2007, 04:53 PM posted to microsoft.public.word.formatting.longdocs
SK[_2_]
external usenet poster
 
Posts: 3
Default Separate style of header and footer reverts

Looks like it has something to do with the bookmark coming immediately
after the page break at the end of page two. I separate the bookmark
and the page break with a space and it all works fine (I can just add
a line at the end of the macro to get rid of the rogue space)

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:12 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.