Window.SelectedText property (Visio)
Returns the selected text in the Microsoft Visio drawing window as a Characters object. Read/write.
Syntax
expression. SelectedText
expression A variable that represents a Window object.
Return value
Characters
Remarks
The SelectedText property applies only to drawing windows. If you try to access the SelectedText property for other types of window, Visio may return an error.
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.