Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Long Documents / August 2007

Tip: Looking for answers? Try searching our database.

Separate style of header and footer reverts

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
SK - 08 Aug 2007 16:28 GMT
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
SK - 08 Aug 2007 16:44 GMT
Woops forgot to mention Using Word 2003
SK - 08 Aug 2007 16:53 GMT
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)
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.