Hi Roger,
just for fun,
if you want to know whether a paragraph is preceded by a table:
With Selection.Paragraphs(1).Range.Characters.First
If Not .Information(wdWithInTable) And _
.Previous.Information(wdWithInTable) Then
MsgBox "1st paragraph in selection is preceded by a table"
Else
MsgBox "1st paragraph in selection is not preceded by a table"
End If
End With
note that if the paragraph is in a table,
it is not preceded by a table.
Greetings from Bavaria, Germany
Helmut Weber, MVP
"red.sys" & chr(64) & "t-online.de"
Word XP, Win 98
http://word.mvps.org/