ContainingPage Property
TOC
Collapse the table of content
Expand the table of content

Selection.ContainingPage Property (Visio)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Returns the page that contains an object.

expression .ContainingPage

expression A variable that represents a Selection object.

Return Value

Page

If the object isn't in a Page object, the ContainingPage property returns Nothing. For example, if a Shape object belongs to a Masters collection, the ContainingPage property returns Nothing.

Show:
© 2016 Microsoft