any quick way to alternate row shading in table?

G

Gary Hillerson

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
 
F

fumei via OfficeKB.com

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top