Window.SelectedDataRecordset property (Visio)

Gets or sets the data recordset that is displayed 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. SelectedDataRecordset

expression An expression that returns a Window object.

Return value

DataRecordset

Remarks

The SelectedDataRecordset 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 SelectedDataRecordset.

When you set the SelectedDataRecordset property, the DataRecordset object you pass must not have been added with the visDataRecordsetNoExternalDataUI flag set.

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.