Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
Sets or returns a PbPageNumberFormat constant that represents the formatting of the page numbering. Read/write.
Syntax
expression.PageNumberFormat
expression A variable that represents a Section object.
Return value
PbPageNumberFormat
Remarks
The PageNumberFormat property value can be one of the PbPageNumberFormat constants declared in the Microsoft Publisher type library.
Not all of the PbPageNumberFormat constants are available, depending on the languages that are enabled or installed.
Example
This example adds a new section to the active document, sets the page number format to lowercase roman, and then sets the starting page number to 1.
Dim objSection As Section
Set objSection = ActiveDocument.Sections.Add(2)
With objSection
.PageNumberFormat = pbPageNumberFormatLCRoman
.PageNumberStart = 1
End With
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.