Page.Delete method (Visio)

Deletes a Page object. Can also renumber remaining pages.

Syntax

expression.Delete( _fRenumberPages_ )

expression A variable that represents a Page object.

Parameters

Name Required/Optional Data type Description
fRenumberPages Required Integer 1 (True) to renumber remaining pages; otherwise, 0 (False).

Return value

Nothing

Remarks

When fRenumberPages is non-zero, the remaining pages' default page names are renumbered after the page is deleted, otherwise, the pages retain their names.

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.