Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
up vote 3 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


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.