View Single Post
  #3  
Old March 7th, 2010, 02:43 AM posted to microsoft.public.word.tables
L. Gautero[_2_]
external usenet poster
 
Posts: 1
Default How to change style of all tables in a document at once?

Dear Stefan,

Thanks for the suggestion, unfortunately in my case, it is not performing
well, in fact the table keep other styles, especially when the contents of
the table (objects as MS Equation) have a style on their own.

basically the whole table is presented having the style of its content.
Is there a way to make this more ordered?
(i.e. a table has its style, independetly from the style of the content of
the cells)

regards

"Stefan Blom" wrote:

You could use a macro such as the following:

Sub ApplyTableStyle()
Dim t As Table
For Each t In ActiveDocument.Tables
t.Style = "Light Shading - Accent 3" 'Specify table style name here
Next t
End Sub

--
Stefan Blom
Microsoft Word MVP



"Doctor Document" Doctor wrote in
message ...
I'm copying tables from many documents and sources outside word and
pasting
them into a single word document. When I want to apply a uniform
formatting
throughout my new document I find myself manually selecting each table
using
the 'Goto' button and applying the table styles to each table.

There are over 300 tables in this document. What's the easier way out? I
have to make twelve other documents similar to this one. Is there a way to
define a pasting formatting for tables? Anyone please help.



.