set the fill color of a cell to the whole row

3
Hi,

I got a word file with some tables. And some table cells contain fill color. I want to set the same fill color for other cells in that rows. But I can't find the excet color for that. How can I do this? Thanks. it's word 2010.
Step 1 : Select the Table that already filled with the desired color
Step 2 : Click on the "Design Tab"
Step 3 : On the drop down menu of "Shading" , Choose "More Colours"
Step 4 : On the pop up window chose "Custom"
   
Step 5: Note down the RGB Value and use the same values for the all the rows in the table. This will copy the Exact same color.

Thank you Wink
New Share your Study Materials with us : Click Here
Hello,

You can get the RGB value of table cell manually as Srini say above . You can also press “Shift+ F1” to open the “Reveal Formatting” pane to see the RGB value.

If you are similar to VBA, a macro will help a lot.

Sub ApplyColorOfOneCellToEntireRow()
Dim nRowIndex As Integer
Dim nCellForeColor As Long
Dim nCellBackColor As Long

If Selection.Information(wdWithInTable) = True Then
nRowIndex = Selection.Cells(1).RowIndex
nCellBackColor = Selection.Cells(1).Shading.BackgroundPatternColor
nCellForeColor = Selection.Cells(1).Shading.ForegroundPatternColor
Else
MsgBox ("Please put your cursor inside a cell.")
Exit Sub
End If
With Selection.Tables(1).Rows(nRowIndex).Shading
.BackgroundPatternColor = nCellBackColor
.ForegroundPatternColor = nCellForeColor
End With
End Sub

Here is a article with detailed steps, you can see at

https://www.datanumen.com/blogs/5-method...umn-table/

Good luck

    set the fill color of a cell to the whole row