Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Does anyone know how to have a spreadsheet automatically update text color in
an entire row when a specific cell is populated with a list of choices from a drop down menu? |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
hym
try to see on the Chip Person web site, it could help you http://www.cpearson.com/excel/whatsnew.htm hth -- regards from Brazil Thanks in advance for your feedback. Marcelo "Gallego" escreveu: Does anyone know how to have a spreadsheet automatically update text color in an entire row when a specific cell is populated with a list of choices from a drop down menu? |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
HI, I looked and found nothing. Basically have a set of 11 choices from a
cell validation I have setup and I would like to have the entire row change text color based on choice. "Marcelo" wrote: hym try to see on the Chip Person web site, it could help you http://www.cpearson.com/excel/whatsnew.htm hth -- regards from Brazil Thanks in advance for your feedback. Marcelo "Gallego" escreveu: Does anyone know how to have a spreadsheet automatically update text color in an entire row when a specific cell is populated with a list of choices from a drop down menu? |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Gallego try this:
Private Sub Worksheet_Change(ByVal Target As Range) Dim rng As Range Dim Test As Double i = Target.Row Set rng = Range("A1").CurrentRegion For i = 1 To rng.Rows.Count Select Case Cells(i, 1) Case "a" rng.Rows(i).Interior.ColorIndex = 4 Case "b" rng.Rows(i).Interior.ColorIndex = 44 Case "c" rng.Rows(i).Interior.ColorIndex = 3 End Select Next i End Sub Hope this helps, -- Dan |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Oops, that should be:
Private Sub Worksheet_Change(ByVal Target As Range) Dim rng As Range i = Target.Row Set rng = Range("A1").CurrentRegion For i = 1 To rng.Rows.Count Select Case Cells(i, 1) Case "a" rng.Rows(i).Font.ColorIndex = 4 Case "b" rng.Rows(i).Font.ColorIndex = 44 Case "c" rng.Rows(i).Font.ColorIndex = 3 End Select Next i End Sub -- Dan |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi Dan,
Thanks. My data validation starts in column L. Would I have to put the color index on a separate sheet for this to work? "Dan Oakes" wrote: Oops, that should be: Private Sub Worksheet_Change(ByVal Target As Range) Dim rng As Range i = Target.Row Set rng = Range("A1").CurrentRegion For i = 1 To rng.Rows.Count Select Case Cells(i, 1) Case "a" rng.Rows(i).Font.ColorIndex = 4 Case "b" rng.Rows(i).Font.ColorIndex = 44 Case "c" rng.Rows(i).Font.ColorIndex = 3 End Select Next i End Sub -- Dan |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Can't format cell color/text color in Office Excel 2003 in fil | Excel Discussion (Misc queries) | |||
Cond. format text color based on another's text color | Excel Discussion (Misc queries) | |||
Cell Fill Color and text color - changes for recipient | Excel Discussion (Misc queries) | |||
Can't format cell color/text color in Office Excel 2003 in files . | Excel Discussion (Misc queries) | |||
Shortcut for FILL COLOR and COLOR TEXT | Excel Discussion (Misc queries) |