Technical Reference > Graphics Builder Automation Interface > Page Functions > PageSelectNext

PageSelectNext

Selects the next page currently open in the Graphics Builder. Fails if there are no pages open.

Syntax

PageSelectNext

Return Value

0 (zero) if successful, otherwise an error is returned.

Note: For details on handling return and error values, see Error Handling.

Related Functions

PageSelectFirst

Example

' Selects the next page in Graphics Builder
GraphicsBuilder.PageSelectNext
If Err.Number <> 0 Then
Output.Print "PageSelectNext Error" + "; Err.Number = " + Hex(Err.Number)
Else
Output.Print "PageSelectNext OK" End If