| View previous topic :: View next topic |
| Author |
Message |
Gary Hillerson Guest
|
Posted: Thu Dec 20, 2007 6:49 pm Post subject: any quick way to alternate row shading in table? |
|
|
I want to create tables via vba code with a header row, and then every
other data row will feature different shading.
I can write a function that walks through the table and does that, but
is there any way to set the shading properties in the table to make it
happen automatically?
thanks in advance,
gary |
|
| Back to top |
|
 |
Google Sponsor

|
Posted: Thu Dec 20, 2007 6:49 pm Post subject: Advertisement |
|
|
|
|
| Back to top |
|
 |
fumei via OfficeKB.com Guest
|
Posted: Thu Dec 20, 2007 8:29 pm Post subject: Re: any quick way to alternate row shading in table? |
|
|
Well, there are Table Styles (Word 2002 and later) that do this, but IMO they
are a little flaky and can have unforseen challenges. A function that does
it should run pretty fast. How quick do you need it?
Gary Hillerson wrote:
| Quote: | I want to create tables via vba code with a header row, and then every
other data row will feature different shading.
I can write a function that walks through the table and does that, but
is there any way to set the shading properties in the table to make it
happen automatically?
thanks in advance,
gary
|
--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.aspx/word-programming/200712/1 |
|
| Back to top |
|
 |
|