Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Sure.  Below is a simple example that, when ran, will show a message telling you which tab is currently active.

Dim oEnv As Inventor.Environment = ThisApplication.UserInterfaceManager.ActiveEnvironment
For Each oTab As RibbonTab In oEnv.Ribbon.RibbonTabs
	If oTab.Active Then
		MsgBox("The tab named '" & oTab.DisplayName & "' is currently active.", vbInformation, "")
	End If
Next

 

Wesley Crihfield

EESignature

(Not an Autodesk Employee)