Hi,
I'm working on a 250 page MS Word doc that has lots of tables. I need to apply MS Word styles to all tables such that:
1. The first row of each table uses the style "Table Heading"
2. All other rows use "Table Body"
Note: I have these styles pre-created on my MS Word.
Now since this can take a long time to do manually, I want to create a macro for the same. Any help on this is welcome. Thanks in advance.
Addtional Info:
I found/created a working macro to apply table style 'Table Classic 1' to all tables in the doc. Hope this helps.
[VBA]Sub ApplyTableStyle()
Dim t As Table
For Each t In ActiveDocument.Tables
t.Style = "Table Classic 1"
Next
End Sub[/VBA]