Share via


StartPageIndex Property [Publisher 2003 VBA Language Reference]

Returns the page number of the page that the specified Section object begins on. Read/write Long.

expression.StartPageIndex

expression Required. An expression that returns a Section object.

Example

The following example adds two pages to the active document, then sets the start page index of the first section to 3. This effectively adds a new section starting on the third page of the publication.

ActiveDocument.Pages.Add Count:=2, After:=1
ActiveDocument.Sections(1).StartPageIndex = 3

Applies to | Section Object