Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I am using the code below to save the time (time5.text) in a cell. It is all
working fine. What I want to do is put an if statement in that when certain criteria are met the same value etc gets written but in blue coloured text in the spreadsheet. Range("G" & riderCell.Row).End(xlToRight).Offset(0, 1) = Time5.Text Something along the lines of If blah blah is true Then Range("G" & riderCell.Row).End(xlToRight).Offset(0, 1) = Time5.Text Range("G" & riderCell.Row).End(xlToRight).Offset(0, 1).forecolor = vbblue Endif Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
writing formulas | New Users to Excel | |||
Counting Coloured Text | Excel Discussion (Misc queries) | |||
Coloured text | Excel Discussion (Misc queries) | |||
writing if formulas | Excel Worksheet Functions | |||
Writing Formulas | Excel Worksheet Functions |