Link to home
Start Free TrialLog in
Avatar of john thornton
john thornton

asked on

Word 2013, VBA: How do I change the shading in the first row of a Word table?

Word 2013. My client has documents with tables in them, sometimes more than 1 table per document. The first row of the table is formatted with a shade color (green). I want a macro to change that to a different color (Word's shading option identifies the color I want as RGB: 242, 242, 242.) Word will not allow me to click table properties when recording a macro. So I'm stuck.

I'd like to be able to load the document and execute a macro which would change all the tables at once. Or, one at a time, let the user select the cells, and execute a macro to change the shading.

How can I do this?

Thanks much.
ASKER CERTIFIED SOLUTION
Avatar of Shums Faruk
Shums Faruk
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of john thornton
john thornton

ASKER

Absolutely marvelous!

Worked perfectly.

Thanks so much!
quick response; complete answer. total solution. Thanks much.
You're Welcome John! Glad I was able to help.