SelectedVBComponent Property (VBA Add-In Object Model)

Microsoft VBA

SelectedVBComponent Property

           

Returns the selected component. Read-only.

Remarks

The SelectedVBComponent property returns the selected component in the Project window. If the selected item in the Project window isn't a component, SelectedVBComponent returns Nothing.