Dim mxDoc As IMxDocument Set mxDoc = ThisDocument Dim layer As IFeatureLayer Set layer = mxDoc.FocusMap.layer(4) Dim tableWindow As ITableWindow Set tableWindow = New tableWindow Dim window As ITableWindow Set window = tableWindow.FindViaFeatureLayer(layer, True) If window Is Nothing Then MsgBox "Window is not visible" Else window.Show False End If
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.