Take the 2-minute tour ×

I have a bunch of large documents, with many tables that have different and inconsistent fill styles - some of them are not readable in black and white when printed.

I cannot change the background fill for all the tables at once. The problem I have is that when I open such a document, and Select All, the Table Properties are inactive.

Do you know a technique for selecting all the tables, or a method for applying global format of tables, with a script or some other way?

share|improve this question

2 Answers 2

up vote 1 down vote accepted

Create a macro in Word using the following code:

Sub SelectAllTables()
    Dim tbl As Table
    Application.ScreenUpdating = False
    For Each tbl In ActiveDocument.Tables
        tbl.Range.Editors.Add wdEditorEveryone
    ActiveDocument.SelectAllEditableRanges (wdEditorEveryone)
    ActiveDocument.DeleteAllEditableRanges (wdEditorEveryone)
    Application.ScreenUpdating = True
End Sub

Run the macro to select all tables, then you can modify their backgrounds in one go.

share|improve this answer
Oh, was that simple! I thought I'd need a full featured library of table tools... thanks! –  PA. Dec 19 '12 at 8:06

I believe Kutools for Word add-in allows you to select all tables at once. It's also compatible with Word 2003.

share|improve this answer

Your Answer


