The OwnerAddInName property of an OlapMenuItem object contains the name of the add-in program that owns the item.
This property is set automatically by the OLAP Add-In Manager. You can use this property to identify the items your program owns and the programs that own other items.
Private Function IOlapAddIn_ExecuteMenuItem( _
CurrentNode As DSSAddInsManager.OlapTreeNode, _
MenuItem As DSSAddInsManager.OlapMenuItem) _
As DSSAddInsManager.RefreshTreeTypes
On Error exit Function 'Handle errors
If MenuItem.Caption = "&Special" Then
MsgBox "OwnerAddInName is: " & MenuItem.OwnerAddInName
End If
End Function