This documentation is archived and is not being maintained.
Selection.MoveToSubprocess Method (Visio)
Moves the selection to the specified page, and drops a replacement shape on the source page and links it to the target page. Returns the selection of moved shapes on the target page.
Version Added: Visio 2010
. MoveToSubprocess( , Page , ObjectToDrop ) NewShape
A variable that represents a object. Selection Parameters
The subprocess page to which the selection should be moved. You cannot pass the current page.
The replacement shape to drop.
Out parameter. Returns the shape that is linked to the new page.
ObjectToDrop parameter is typically a Microsoft Visio object, such as a or Master object. However, it can be any OLE object that provides an MasterShortcut IDataObject interface. If ObjectToDrop is null, Visio drops a default shape.