![]() |
#3
|
||||
|
||||
![]()
There is no need to select anything. For example, the following code will shade the first row of the first table in the first content control in the active document:
Code:
ActiveDocument.ContentControls(1).Range.Tables(1).Rows(1).Shading.BackgroundPatternColorIndex = wdBrightGreen
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
Tags |
content controls, selection, table |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
DougsGraphics | Word VBA | 2 | 06-24-2015 07:31 AM |
Copy content control entries to next table next page | Mel_Herndon | Word VBA | 2 | 05-22-2014 05:07 PM |
![]() |
DeborahBartlett | Word | 1 | 01-04-2014 11:06 AM |
![]() |
BrainSlugs83 | Word Tables | 8 | 11-14-2013 03:06 AM |
![]() |
jillapass | Word VBA | 1 | 08-08-2012 04:58 PM |