Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.tables
|
|||
|
|||
shading alternate rows
Hi
I have a table with four columns and several rows. I want to shade each alternate row. I am manually shading at the moment. Is there a way I can speed it up by copying and pasting the shaded rows? -- Jackie D |
#2
Posted to microsoft.public.word.tables
|
|||
|
|||
shading alternate rows
Running a macro containing the following code will apply shading to
alternate rows of the table in which the selection is located: Dim i As Long Dim atable As Table Set atable = Selection.Tables(1) With atable For i = 2 To .Rows.Count Step 2 .Rows(i).Shading.BackgroundPatternColor = wdColorGray05 Next i End With -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP "Jackie D" wrote in message ... Hi I have a table with four columns and several rows. I want to shade each alternate row. I am manually shading at the moment. Is there a way I can speed it up by copying and pasting the shaded rows? -- Jackie D |
#3
Posted to microsoft.public.word.tables
|
|||
|
|||
shading alternate rows
It depends a bit on what version of Word you have but take a look at Table
AutoFormat to set up a striped table. -- Enjoy, Tony "Jackie D" wrote in message ... Hi I have a table with four columns and several rows. I want to shade each alternate row. I am manually shading at the moment. Is there a way I can speed it up by copying and pasting the shaded rows? -- Jackie D |
#4
Posted to microsoft.public.word.tables
|
|||
|
|||
shading alternate rows
Thank you, Doug
-- Jackie D "Doug Robbins - Word MVP" wrote: Running a macro containing the following code will apply shading to alternate rows of the table in which the selection is located: Dim i As Long Dim atable As Table Set atable = Selection.Tables(1) With atable For i = 2 To .Rows.Count Step 2 .Rows(i).Shading.BackgroundPatternColor = wdColorGray05 Next i End With -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP "Jackie D" wrote in message ... Hi I have a table with four columns and several rows. I want to shade each alternate row. I am manually shading at the moment. Is there a way I can speed it up by copying and pasting the shaded rows? -- Jackie D |
#5
Posted to microsoft.public.word.tables
|
|||
|
|||
shading alternate rows
Thanks you. I have 2003. I'll check out autoformat
-- Jackie D "Tony Jollans" wrote: It depends a bit on what version of Word you have but take a look at Table AutoFormat to set up a striped table. -- Enjoy, Tony "Jackie D" wrote in message ... Hi I have a table with four columns and several rows. I want to shade each alternate row. I am manually shading at the moment. Is there a way I can speed it up by copying and pasting the shaded rows? -- Jackie D |
#6
Posted to microsoft.public.word.tables
|
|||
|
|||
shading alternate rows
In Word 2002 and 2003, you also have access to table styles (the successor
to AutoFormats, they can be user-defined), and row striping is one of the properties you can define in the style. Although table styles are flaky in other ways (see http://www.shaunakelly.com/word/tablestyles/index.html), they can be extremely helpful when you need alternate row shading. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "Jackie D" wrote in message ... Thanks you. I have 2003. I'll check out autoformat -- Jackie D "Tony Jollans" wrote: It depends a bit on what version of Word you have but take a look at Table AutoFormat to set up a striped table. -- Enjoy, Tony "Jackie D" wrote in message ... Hi I have a table with four columns and several rows. I want to shade each alternate row. I am manually shading at the moment. Is there a way I can speed it up by copying and pasting the shaded rows? -- Jackie D |
#7
Posted to microsoft.public.word.tables
|
|||
|
|||
shading alternate rows
Thanks Suzanne. I'll have a play!
-- Jackie D "Suzanne S. Barnhill" wrote: In Word 2002 and 2003, you also have access to table styles (the successor to AutoFormats, they can be user-defined), and row striping is one of the properties you can define in the style. Although table styles are flaky in other ways (see http://www.shaunakelly.com/word/tablestyles/index.html), they can be extremely helpful when you need alternate row shading. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "Jackie D" wrote in message ... Thanks you. I have 2003. I'll check out autoformat -- Jackie D "Tony Jollans" wrote: It depends a bit on what version of Word you have but take a look at Table AutoFormat to set up a striped table. -- Enjoy, Tony "Jackie D" wrote in message ... Hi I have a table with four columns and several rows. I want to shade each alternate row. I am manually shading at the moment. Is there a way I can speed it up by copying and pasting the shaded rows? -- Jackie D |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How do I shade alternate rows in a table? | Tables | |||
Header Rows in Table Won't Repeat | Microsoft Word Help | |||
Problem pasting landscape table rows | Page Layout | |||
"Fixing" shading of rows problem | Page Layout | |||
Automatic Alternate Row Shading For Tables? | Tables |