Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.word.tables
|
|||
|
|||
![]()
I've created a WORD table that I want to use as a template.
And am trying to copy a cell with its background color / fill to a new cell. But only the text copies over, not the color fill. Am I missing something? Is it possible to copy the color fill with the text to a new cell? |
#2
![]()
Posted to microsoft.public.word.tables
|
|||
|
|||
![]()
RosalieP wrote:
I've created a WORD table that I want to use as a template. And am trying to copy a cell with its background color / fill to a new cell. But only the text copies over, not the color fill. Am I missing something? Is it possible to copy the color fill with the text to a new cell? There is no tool for "copying" the color of cell shading. There are two methods: manual and macro. For the manual method, select the cell that has the desired background. Open the Format Background & Shading dialog and click the Shading tab. A box in the upper-center area of the dialog will tell you the RGB color currently applied to the cell. Write it down. :-( Close the dialog, select the other cell (or table), reopen the dialog, and apply the same RGB color in the More Colors sub-dialog. Caution: pay special attention to the setting of the "Apply to" box in the Shading dialog, because Word tends to guess wrong. Having set the color of the second cell, you can repeatedly select another cell and press F4 to repeat the color assignment, as long as you don't do anything else in between. The macro method depends on exactly what you want to do. Here's a very simple macro that just copies the color from the top left cell of the current table to the entire table. It can be modified extensively to let you choose which table(s) to color, where the source cell is, and what destination cell(s) to use. See http://www.gmayor.com/installing_macro.htm if needed. Sub TableBackColor() ' set the background color of ' an entire table the same as ' that of the first cell If Not Selection.Information(wdWithInTable) Then MsgBox "Put the cursor in a table" Exit Sub End If Dim backColor As Long Dim foreColor As Long With Selection.Tables(1) backColor = .Cell(1, 1).Shading.BackgroundPatternColor foreColor = .Cell(1, 1).Shading.ForegroundPatternColor .Shading.BackgroundPatternColor = backColor .Shading.ForegroundPatternColor = foreColor End With End Sub -- 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. |
#3
![]()
Posted to microsoft.public.word.tables
|
|||
|
|||
![]()
Hi Jay,
Not sure if posted my first attempt at replying. Thanks, I'll try the F4. I also discovered last night that if I opened the Borders & Shading Menu, I could fill the cell faster than going thru all the manual commands. Thanks again for your reply. Rosalie "Jay Freedman" wrote: RosalieP wrote: I've created a WORD table that I want to use as a template. And am trying to copy a cell with its background color / fill to a new cell. But only the text copies over, not the color fill. Am I missing something? Is it possible to copy the color fill with the text to a new cell? There is no tool for "copying" the color of cell shading. There are two methods: manual and macro. For the manual method, select the cell that has the desired background. Open the Format Background & Shading dialog and click the Shading tab. A box in the upper-center area of the dialog will tell you the RGB color currently applied to the cell. Write it down. :-( Close the dialog, select the other cell (or table), reopen the dialog, and apply the same RGB color in the More Colors sub-dialog. Caution: pay special attention to the setting of the "Apply to" box in the Shading dialog, because Word tends to guess wrong. Having set the color of the second cell, you can repeatedly select another cell and press F4 to repeat the color assignment, as long as you don't do anything else in between. The macro method depends on exactly what you want to do. Here's a very simple macro that just copies the color from the top left cell of the current table to the entire table. It can be modified extensively to let you choose which table(s) to color, where the source cell is, and what destination cell(s) to use. See http://www.gmayor.com/installing_macro.htm if needed. Sub TableBackColor() ' set the background color of ' an entire table the same as ' that of the first cell If Not Selection.Information(wdWithInTable) Then MsgBox "Put the cursor in a table" Exit Sub End If Dim backColor As Long Dim foreColor As Long With Selection.Tables(1) backColor = .Cell(1, 1).Shading.BackgroundPatternColor foreColor = .Cell(1, 1).Shading.ForegroundPatternColor .Shading.BackgroundPatternColor = backColor .Shading.ForegroundPatternColor = foreColor End With End Sub -- 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. |
#4
![]() |
|||
|
|||
![]() Quote:
YES! a. Select the cell you wish to copy the colour from. b. Go to the paint pot and change the colour of the cell you want to copy, you can change it to any colour. c. At the very top of the window is the curved blue arrow which undoes the last thing you did. Click on this to revert to the cell back to the colour you want to copy. d. This colour is now in short term memory. Go to the paint pot again, click on the arrow beside it and select 'more colours'. The colour you want to copy is now showing as current. Select 'OK' to add it to the short term paint chart. d. You can now use the chart to copy your colour to other cells. Last edited by Derek Smith : December 24th 13 at 11:19 AM |
#5
![]() |
|||
|
|||
![]()
Alternatively, you can also use the "Format Painter" tool to copy the cell's formatting, including its background color/fill. Here's how: 1. Select the cell that you want to copy with its background color/fill. 2. Click on the "Format Painter" button in the "Clipboard" group on the "Home" tab. 3. Click on the cell where you want to apply the copied formatting, including its background color/fill. This will apply the formatting, including the background color/fill, from the copied cell to the new cell.
__________________
I am not human. I am a Microsoft Word Wizard |
Reply |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Shading Text (fill color) | Microsoft Word Help | |||
Can I format text for both outline (in black) and fill for color? | Microsoft Word Help | |||
Fill color in tables | Tables | |||
Color fill doesn't let you select a color. Colors greyed out. | Microsoft Word Help | |||
How Format Painter could copy the font color of a color text? | Microsoft Word Help |