The star of pagenumbering

J

juan

Hello:
With Visual Basic 2005, I want to begin pagenumbering since page number 3
(in Section 2). I don't know how to get it. Or get the Section 2 to begin in
page number 3.
Any solution?
Thanks.
 
S

Stefan Blom

Generally, this is how to set a starting page number for a Word section:

With <DocObj>.Sections(2).Headers(wdHeaderFooterPrimary).PageNumbers
.StartingNumber = 3
.RestartNumberingAtSection = True
End With

Of course, "<DocObj>" must be replaced with a valid reference to a Document
object.

--
Stefan Blom
Microsoft Word MVP


in message
news:[email protected]...
 

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