How to change the starting Page Number in Code
The starting page number is set for each section. For example, the
following example sets the starting page number to 22 for the first
section of the active document:
With ActiveDocument.Sections(1) _
.Headers(wdHeaderFooterPrimary).PageNumbers
.RestartNumberingAtSection = True
.StartingNumber = 22 'Specify the desired number here
End With
--
Stefan Blom
Microsoft Word MVP
"Jason Koelewyn" wrote in message
...
I am trying to set the Page number using code. Does anyone know how
to set that value?
|