A
andreas
Dear Experts:
below simple macros applies a user-defined table styles to all tables
in the current document. It works fine.
I wonder whether it is possible...
.... to check each table for vertically merged cells and...
.....only apply the user-defined table style to tables without any
vertically merged cells
.... the index number of tables which have not been worked on because
of this is to be displayed in a msgbox
Hope this is feasible and not beyond the scope of this forum.
Help is much appreciated. Thank you very much in advance.
Regards, Andreas
Sub ApplyTblStyleAllTables
For Each tbl In ActiveDocument.Tables
tbl.Style = ActiveDocument.Styles("TblStyle_Blue")
Next tbl
End Sub
below simple macros applies a user-defined table styles to all tables
in the current document. It works fine.
I wonder whether it is possible...
.... to check each table for vertically merged cells and...
.....only apply the user-defined table style to tables without any
vertically merged cells
.... the index number of tables which have not been worked on because
of this is to be displayed in a msgbox
Hope this is feasible and not beyond the scope of this forum.
Help is much appreciated. Thank you very much in advance.
Regards, Andreas
Sub ApplyTblStyleAllTables
For Each tbl In ActiveDocument.Tables
tbl.Style = ActiveDocument.Styles("TblStyle_Blue")
Next tbl
End Sub