> If there is a table within a WORD docunment, it appears WORD only finds the
> style of non-blank cells within a table. Is there some way to use the "Find"
> function (or some other method) to find all occurences of a particular style
> within a table, even if the cells are empty. Using Edit, Find, Style format
> only does not work.
Hi Dennis,
Yep, the end-of-cell markers are invisible to "Find".
You'd need to loop all cells in the document:
Dim myTable as Table
Dim myCell as Cell
For Each myTable in ActiveDocument.Tables
For each myCell in myTable.Range.Cells
' look at myCell.Range.Style
And even then, it might be difficult to figure out the paragraph style (since
.Style might return an applied character style, table style, or list style).
If you run into difficulties, post back.
Greetings,
Klaus