Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.formatting.longdocs
Fishy Fishy is offline
external usenet poster
 
Posts: 12
Default Header / Style Ref / Page #

I have a looooooong document -- several volumes. I use Style Ref in the Header to pick up
Heading Style 4, which is the section number and title for each topic throughout the
document. Some of these section topics are contained in only one page; others span
several pages. I want to show a page number in the header and I want the numbering to
restart with each section heading. To achieve this:

Sec. 4.08 -- Offer Defined p. 4.08-1
p. 4.08-2
p. 4.08-3 ... etc.



Can somebody help?

  #2   Report Post  
Posted to microsoft.public.word.formatting.longdocs
Doug Robbins - Word MVP on news.microsoft.com Doug Robbins - Word MVP on news.microsoft.com is offline
external usenet poster
 
Posts: 407
Default Header / Style Ref / Page #

In the Format Page Number dialog, set the numbering for each Section to
start at 1

To do this to every Section in your loooooong document, use a macro
containing the following code:

Dim i As Long, j As Long
With ActiveDocument
For i = 1 To .Sections.Count
With .Sections(i)
For j = 1 To .Headers.Count
.Headers(j).PageNumbers.StartingNumber = 1
Next j
End With
Next i
End With


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com

"Fishy" wrote in message
...
I have a looooooong document -- several volumes. I use Style Ref in the
Header to pick up
Heading Style 4, which is the section number and title for each topic
throughout the
document. Some of these section topics are contained in only one page;
others span
several pages. I want to show a page number in the header and I want the
numbering to
restart with each section heading. To achieve this:

Sec. 4.08 -- Offer Defined p. 4.08-1
p. 4.08-2
p. 4.08-3 ... etc.



Can somebody help?



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
page break causes shaded header style to appear on prev page jkeva410 Microsoft Word Help 5 July 30th 08 01:17 PM
Disable Header when some style is present in the current page jose_piratilla Microsoft Word Help 3 May 28th 08 08:27 AM
Style for header before list Josh W Page Layout 1 April 21st 08 01:08 PM
border in style behind header matrix512 Page Layout 0 January 23rd 08 05:07 PM
Header content determined by a certain Style (Header 2) Jogger1 Microsoft Word Help 2 February 18th 06 07:24 AM


All times are GMT +1. The time now is 12:04 PM.

Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
Copyright 2004-2023 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"