Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.newusers
|
|||
|
|||
Changing the Color of Table Lines (?)
In a rather complex table in Word 2002, I'd like to change
all of the line colors from black to blue (without getting black and blue myself) in one easy step, but I don't see a way of doing this. Any good souls here know a trick or two? -- Thanks, tbl |
#2
Posted to microsoft.public.word.newusers
|
|||
|
|||
Changing the Color of Table Lines (?)
Use one of the multitude of ways to select the table (triple-clicking in the
table is one easy way, Alt+5 on the Num Pad is another) and then use Format, Borders and Shading. On the Borders tab, select Black from the colour selector and the thickness of line from Line Style and then click on the ALL icon: all the grid lines should change to a printable black. -- Terry Farrell - MS Word MVP "tbl" wrote in message ... In a rather complex table in Word 2002, I'd like to change all of the line colors from black to blue (without getting black and blue myself) in one easy step, but I don't see a way of doing this. Any good souls here know a trick or two? -- Thanks, tbl |
#3
Posted to microsoft.public.word.newusers
|
|||
|
|||
Changing the Color of Table Lines (?)
On Wed, 30 May 2007 20:05:37 +0100, "Terry Farrell"
wrote: Use one of the multitude of ways to select the table (triple-clicking in the table is one easy way, Alt+5 on the Num Pad is another) and then use Format, Borders and Shading. On the Borders tab, select Black from the colour selector and the thickness of line from Line Style and then click on the ALL icon: all the grid lines should change to a printable black. Thanks for the reply. What I'm after here is a way to change *just* the color of the lines. There are several thicknesses of lines in these tables, and I don't want to mess with that--it would take a long, long time. -- tbl |
#4
Posted to microsoft.public.word.newusers
|
|||
|
|||
Changing the Color of Table Lines (?)
In Word 2007, you can definitely select the table and use the Borders and
Shading dialog to select a new colour and it will apply itself immediately to all borders without effecting the thickness setting. I'm not sure about earlier versions though. Terry "tbl" wrote in message ... On Wed, 30 May 2007 20:05:37 +0100, "Terry Farrell" wrote: Use one of the multitude of ways to select the table (triple-clicking in the table is one easy way, Alt+5 on the Num Pad is another) and then use Format, Borders and Shading. On the Borders tab, select Black from the colour selector and the thickness of line from Line Style and then click on the ALL icon: all the grid lines should change to a printable black. Thanks for the reply. What I'm after here is a way to change *just* the color of the lines. There are several thicknesses of lines in these tables, and I don't want to mess with that--it would take a long, long time. -- tbl |
#5
Posted to microsoft.public.word.newusers
|
|||
|
|||
Changing the Color of Table Lines (?)
Select the whole table. Right-click the selected table and click on Borders
and Shading. In the Borders tab, drop down the Color control and choose the color you want. -- Herb Tyson MS MVP Author of the Word 2007 Bible Blog: http://word2007bible.herbtyson.com Web: http://www.herbtyson.com "tbl" wrote in message ... On Wed, 30 May 2007 20:05:37 +0100, "Terry Farrell" wrote: Use one of the multitude of ways to select the table (triple-clicking in the table is one easy way, Alt+5 on the Num Pad is another) and then use Format, Borders and Shading. On the Borders tab, select Black from the colour selector and the thickness of line from Line Style and then click on the ALL icon: all the grid lines should change to a printable black. Thanks for the reply. What I'm after here is a way to change *just* the color of the lines. There are several thicknesses of lines in these tables, and I don't want to mess with that--it would take a long, long time. -- tbl |
#6
Posted to microsoft.public.word.newusers
|
|||
|
|||
Changing the Color of Table Lines (?)
Herb, I believe your response and Terry's, but I can't make it work at
all, in either 2003 or 2007. When I change the color in the dialog (with "Apply to" set to Table), the color simply doesn't change if the borders aren't all the same type and weight (that is, if "Custom" is selected in the left column). What am I missing? -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. On Wed, 30 May 2007 20:42:41 -0400, "Herb Tyson [MVP]" wrote: Select the whole table. Right-click the selected table and click on Borders and Shading. In the Borders tab, drop down the Color control and choose the color you want. -- Herb Tyson MS MVP Author of the Word 2007 Bible Blog: http://word2007bible.herbtyson.com Web: http://www.herbtyson.com "tbl" wrote in message .. . On Wed, 30 May 2007 20:05:37 +0100, "Terry Farrell" wrote: Use one of the multitude of ways to select the table (triple-clicking in the table is one easy way, Alt+5 on the Num Pad is another) and then use Format, Borders and Shading. On the Borders tab, select Black from the colour selector and the thickness of line from Line Style and then click on the ALL icon: all the grid lines should change to a printable black. Thanks for the reply. What I'm after here is a way to change *just* the color of the lines. There are several thicknesses of lines in these tables, and I don't want to mess with that--it would take a long, long time. -- tbl |
#7
Posted to microsoft.public.word.newusers
|
|||
|
|||
Changing the Color of Table Lines (?)
I completely missed the part about there being several thicknesses of lines
before. Yeah -- you're right. When "Custom" is enabled, it doesn't work. In Word 2007, you can change just the border colors with the Colors tool in the Page Layout tab. But, that will affect other theme-based colors as well. So "just the border" might not be the case if other colors are employed elsewhere. So, I guess if you want to change border colors and line widths, the rule is to change the color first, because [apparently], you can't apply just color. Word forces you to apply line width at the same time. It would take a macro to do it the other way around. The macro would need to memorize the line types/thicknesses, apply the color, then reapply the customized thicknesses. -- Herb Tyson MS MVP Author of the Word 2007 Bible Blog: http://word2007bible.herbtyson.com Web: http://www.herbtyson.com "Jay Freedman" wrote in message ... Herb, I believe your response and Terry's, but I can't make it work at all, in either 2003 or 2007. When I change the color in the dialog (with "Apply to" set to Table), the color simply doesn't change if the borders aren't all the same type and weight (that is, if "Custom" is selected in the left column). What am I missing? -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. On Wed, 30 May 2007 20:42:41 -0400, "Herb Tyson [MVP]" wrote: Select the whole table. Right-click the selected table and click on Borders and Shading. In the Borders tab, drop down the Color control and choose the color you want. -- Herb Tyson MS MVP Author of the Word 2007 Bible Blog: http://word2007bible.herbtyson.com Web: http://www.herbtyson.com "tbl" wrote in message . .. On Wed, 30 May 2007 20:05:37 +0100, "Terry Farrell" wrote: Use one of the multitude of ways to select the table (triple-clicking in the table is one easy way, Alt+5 on the Num Pad is another) and then use Format, Borders and Shading. On the Borders tab, select Black from the colour selector and the thickness of line from Line Style and then click on the ALL icon: all the grid lines should change to a printable black. Thanks for the reply. What I'm after here is a way to change *just* the color of the lines. There are several thicknesses of lines in these tables, and I don't want to mess with that--it would take a long, long time. -- tbl |
#8
Posted to microsoft.public.word.newusers
|
|||
|
|||
Changing the Color of Table Lines (?)
Jay
Unfortunately, as Herb noted, you are correct. I only tested it with a table using one of the default selections and not with custom active. I learn something new every day! Maybe this can be done through VBA? Terry "Jay Freedman" wrote in message ... Herb, I believe your response and Terry's, but I can't make it work at all, in either 2003 or 2007. When I change the color in the dialog (with "Apply to" set to Table), the color simply doesn't change if the borders aren't all the same type and weight (that is, if "Custom" is selected in the left column). What am I missing? -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. On Wed, 30 May 2007 20:42:41 -0400, "Herb Tyson [MVP]" wrote: Select the whole table. Right-click the selected table and click on Borders and Shading. In the Borders tab, drop down the Color control and choose the color you want. -- Herb Tyson MS MVP Author of the Word 2007 Bible Blog: http://word2007bible.herbtyson.com Web: http://www.herbtyson.com "tbl" wrote in message . .. On Wed, 30 May 2007 20:05:37 +0100, "Terry Farrell" wrote: Use one of the multitude of ways to select the table (triple-clicking in the table is one easy way, Alt+5 on the Num Pad is another) and then use Format, Borders and Shading. On the Borders tab, select Black from the colour selector and the thickness of line from Line Style and then click on the ALL icon: all the grid lines should change to a printable black. Thanks for the reply. What I'm after here is a way to change *just* the color of the lines. There are several thicknesses of lines in these tables, and I don't want to mess with that--it would take a long, long time. -- tbl |
#9
Posted to microsoft.public.word.newusers
|
|||
|
|||
Changing the Color of Table Lines (?)
Of course it can be done in VBA, and it's almost trivial:
Sub TableRecolorBorders() Dim oBrd As Border Dim oTbl As Table For Each oTbl In ActiveDocument.Tables For Each oBrd In oTbl.Borders oBrd.Color = wdColorBlue ' or use a color picker Next oBrd Next oTbl End Sub I'm a bit disappointed in the UI, though. The dialog looks as though it's going to do what you ask, but then it just does nothing. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. Terry Farrell wrote: Jay Unfortunately, as Herb noted, you are correct. I only tested it with a table using one of the default selections and not with custom active. I learn something new every day! Maybe this can be done through VBA? Terry "Jay Freedman" wrote in message ... Herb, I believe your response and Terry's, but I can't make it work at all, in either 2003 or 2007. When I change the color in the dialog (with "Apply to" set to Table), the color simply doesn't change if the borders aren't all the same type and weight (that is, if "Custom" is selected in the left column). What am I missing? -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org On Wed, 30 May 2007 20:42:41 -0400, "Herb Tyson [MVP]" wrote: Select the whole table. Right-click the selected table and click on Borders and Shading. In the Borders tab, drop down the Color control and choose the color you want. -- Herb Tyson MS MVP Author of the Word 2007 Bible Blog: http://word2007bible.herbtyson.com Web: http://www.herbtyson.com "tbl" wrote in message ... On Wed, 30 May 2007 20:05:37 +0100, "Terry Farrell" wrote: Use one of the multitude of ways to select the table (triple-clicking in the table is one easy way, Alt+5 on the Num Pad is another) and then use Format, Borders and Shading. On the Borders tab, select Black from the colour selector and the thickness of line from Line Style and then click on the ALL icon: all the grid lines should change to a printable black. Thanks for the reply. What I'm after here is a way to change *just* the color of the lines. There are several thicknesses of lines in these tables, and I don't want to mess with that--it would take a long, long time. -- tbl |
#10
Posted to microsoft.public.word.newusers
|
|||
|
|||
Changing the Color of Table Lines (?)
On Wed, 30 May 2007 11:18:15 -0700, tbl
wrote: In a rather complex table in Word 2002, I'd like to change all of the line colors from black to blue (without getting black and blue myself) in one easy step, but I don't see a way of doing this. Any good souls here know a trick or two? Thanks to all who replied. It looks like we're all stuck with manually changing the colors for existing, complex tables, but at least we *know* we're stuck. And for new tables, think about color, first! Thanks everybody. -- tbl |
#11
Posted to microsoft.public.word.newusers
|
|||
|
|||
Changing the Color of Table Lines (?)
Especially disappointing that it does it for all but Custom borders. In fact
its weird. Terry "Jay Freedman" wrote in message ... Of course it can be done in VBA, and it's almost trivial: Sub TableRecolorBorders() Dim oBrd As Border Dim oTbl As Table For Each oTbl In ActiveDocument.Tables For Each oBrd In oTbl.Borders oBrd.Color = wdColorBlue ' or use a color picker Next oBrd Next oTbl End Sub I'm a bit disappointed in the UI, though. The dialog looks as though it's going to do what you ask, but then it just does nothing. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. Terry Farrell wrote: Jay Unfortunately, as Herb noted, you are correct. I only tested it with a table using one of the default selections and not with custom active. I learn something new every day! Maybe this can be done through VBA? Terry "Jay Freedman" wrote in message ... Herb, I believe your response and Terry's, but I can't make it work at all, in either 2003 or 2007. When I change the color in the dialog (with "Apply to" set to Table), the color simply doesn't change if the borders aren't all the same type and weight (that is, if "Custom" is selected in the left column). What am I missing? -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org On Wed, 30 May 2007 20:42:41 -0400, "Herb Tyson [MVP]" wrote: Select the whole table. Right-click the selected table and click on Borders and Shading. In the Borders tab, drop down the Color control and choose the color you want. -- Herb Tyson MS MVP Author of the Word 2007 Bible Blog: http://word2007bible.herbtyson.com Web: http://www.herbtyson.com "tbl" wrote in message ... On Wed, 30 May 2007 20:05:37 +0100, "Terry Farrell" wrote: Use one of the multitude of ways to select the table (triple-clicking in the table is one easy way, Alt+5 on the Num Pad is another) and then use Format, Borders and Shading. On the Borders tab, select Black from the colour selector and the thickness of line from Line Style and then click on the ALL icon: all the grid lines should change to a printable black. Thanks for the reply. What I'm after here is a way to change *just* the color of the lines. There are several thicknesses of lines in these tables, and I don't want to mess with that--it would take a long, long time. -- tbl |
#12
Posted to microsoft.public.word.newusers
|
|||
|
|||
Changing the Color of Table Lines (?)
Jay's macros works fine.
Terry "tbl" wrote in message ... On Wed, 30 May 2007 11:18:15 -0700, tbl wrote: In a rather complex table in Word 2002, I'd like to change all of the line colors from black to blue (without getting black and blue myself) in one easy step, but I don't see a way of doing this. Any good souls here know a trick or two? Thanks to all who replied. It looks like we're all stuck with manually changing the colors for existing, complex tables, but at least we *know* we're stuck. And for new tables, think about color, first! Thanks everybody. -- tbl |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Changing background color | Microsoft Word Help | |||
Changing the background color of the selected row in table, when the document is protected. | Microsoft Word Help | |||
Changing background color | New Users | |||
Table of Contents - changing the font color | New Users | |||
Changing color of selected text | Microsoft Word Help |