I need to know how to delete a row in a Word table if Column 2 is empty.
Thanks-
Charlie Epes
Buffalo, NY
With Selection.Tables(1)
For i = .Rows.Count To 1 Step -1
If Len(.Cell(i, 2).Range.Text) = 2 Then
.Rows(i).Delete
End If
Next i
End With
when the selection is in the table.
--
Hope this helps.
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP, originally posted via msnews.microsoft.com
"Chasepes" <Chas...@discussions.microsoft.com> wrote in message
news:FE2089DE-1D9B-4220...@microsoft.com...