Q: VBA adding colors to all tables within a word document I have a document with multiple tables. I would like to color the header of the tables who have those words in them to a certain color. Does anyone know how to do that?

A: You can loop through each table in the document, test a value in a cell and shade when it matches:
Dim t As Table
For Each t In ActiveDocument.Tables
    If t.Cell(1,1) = "something" Then t.Rows(1).Shading.BackgroundPatternColor = wdColorGray50
Next

