Shape.MoveToSubprocess Method (Visio)
Moves the shape to the specified page and drops a replacement shape on the source page, then links it to the target page. Returns the selection of moved shapes on the target page.
expression .MoveToSubprocess(Page, ObjectToDrop, NewShape)
expression A variable that represents a Shape object.
The sub-process page to which the shape 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.