Bewerken

Delen via


Section.ContinueNumbersFromPreviousSection property (Publisher)

True if the specified section continues the numbering from the previous section. Read/write Boolean.

Syntax

expression.ContinueNumbersFromPreviousSection

expression A variable that represents a Section object.

Return value

Boolean

Example

The following example adds three pages to the publication, adds a new section after the first page, and then sets the ContinueNumbersFromPreviousSection to False for the new section.

Dim objSection As Section 
ActiveDocument.Pages.Add Count:=3, After:=1 
Set objSection = ActiveDocument.Sections.Add(StartPageIndex:=2) 
objSection.ContinueNumbersFromPreviousSection = False 
 

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.