Private Sub UIButtonControl1_Click() Dim pCommandBarItem As ICommandItem Set pCommandBarItem = Application.Document.CommandBars.Find(ArcID.GPS_LogfileProperties) pCommandBarItem.Execute 'What do I need to do below to get the reference? Dim pRealTimeFeatureClass As IFeatureClass Dim pRealTimeLog As IRealTimeLog Set pRealTimeFeatureClass = pRealTimeLog.LogFile End Sub