Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.tables
|
|||
|
|||
Change Table Background Macro
Hello-
I am trying to write a macro that will execute when a user selects a checkbox. When the box is selected, I want the macro to select the table that contains the checkbox and change the background color of the table. I can get the checkbox to execute, but when I try to select the table it gives me a runtime error "4065....command is not available". It appears that is cannot find the table I am referring to.... I am selecting the table and changing the background using the following: ActiveDocument.Tables(4).Shading .BackgroundPatternColor = wdColorGray50 Anyone have any ideas why it is not finding the table? Thanks, Jeff |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to change text direction of drop down field in table? | Tables | |||
Color change of the gray background of a Word Document | Microsoft Word Help | |||
Word 2003: Can one disable table styles? | Tables | |||
How do I change a tiff background from black to white? | Microsoft Word Help | |||
Word 2003 Table AutoFormat vs Macro vs VBA | Tables |