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

Selection.ContainingPage Property (Visio)

Office 2013 and later

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


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.

© 2016 Microsoft