Hello There, Guest! RegisterLogin with Facebook
Login with Facebook

>>> Anna University Sixth Semester Question Bank Collection (R2013) ECE,MECH,CSE,IT,EEE,CIVIL,EIE
>>> Anna University Study Materials for all Departments
>>> Anna University Question Papers : April May June 2015 Question Papers | Nov Dec 2014 and Jan 2015 Question Papers

Register or Login to Submit Study Materials , Shoutbox and also to access Many Features !!

Vidyarthiplus Shop :: Handwritten Premium Lecture Notes
Share your Study Materials with us
Share your Study Materials with us : Click Here

set the fill color of a cell to the whole row


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



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
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


Good luck



Recommend on Google