Window.SelectedDataRowID property (Visio)

Gets or sets the ID of the data row that is selected (or that is the primary row selected, when multiple rows are selected) on the active tab of the External Data Window in the Microsoft Visio user interface (UI). Read/write.

Note

This Visio object or member is available only to licensed users of Visio Professional 2013.

Syntax

expression. SelectedDataRowID

expression An expression that returns a Window object.

Return value

Long

Remarks

The SelectedDataRowID property works only when the Window object represents the External Data Window. Calling the property on any other window type results in an error. The External Data Window must already be displayed in the Visio UI before you call SelectedDataRowID.

Setting SelectedDataRowID clears the current selection and sets the selection to the row you specify.

If multiple rows are selected when you get SelectedDataRowID, the property returns the ID of the row that has the focus.

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.