For Each myPara In ActiveDocument.Paragraphs
If myPara.Style = "見出し 1" Then
If InStr(myPara.Range.Text, "AAA") > 0 Then
myPara.Range.Select
Selection.GoTo What:=wdGoToTable, which:=wdGoToNext
If Selection.Information(wdWithInTable) Then
Selection.Tables(1).Select
Exit Sub
End If
End If
End If
Next myPara