Making Sure the Selection Is within a Table
Sub withTable() If Selection.Information(wdWithInTable) = True Then 'take actions here End If End Sub