Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I need to insert some code so that when I click on a cell the fill color for
the entire row changes to yellow. Example: If I click on C3 then Row 3 starting from A3:IV3 would change the row's color to yellow. Thanks Bill |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
put this macro into the worksheet object
Private Sub Worksheet_SelectionChange(ByVal Target As Range) y = Trim(Str(Target.Row)) Rows(y).Interior.ColorIndex = 6 End Sub "Bill" wrote: I need to insert some code so that when I click on a cell the fill color for the entire row changes to yellow. Example: If I click on C3 then Row 3 starting from A3:IV3 would change the row's color to yellow. Thanks Bill |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Checkbox to change background color, font color and remove/ add bo | Excel Discussion (Misc queries) | |||
Change tab color based on current color of a cell | Excel Discussion (Misc queries) | |||
How to change the default Border, Font Color, and Cell Color | Excel Discussion (Misc queries) | |||
Allow users to change the color of the comment indicator color so. | Excel Discussion (Misc queries) | |||
Browse Forms Controls and change TextBox color based on cell color | Excel Programming |