Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
The below macro works ok, however it neither color's the cell and also I
would like the macro to continue on after finding one cell with less than 1,000 or blank. Currently it stops at the first cell it finds with this criteria. There could be multiple cells that fall under this criteria. Sub LessThan1000orBlank() Range("K1").Select Do Until ActiveCell < 1000 If ActiveCell < 1000 Then With Selection.Interior .ColorIndex = 6 .Pattern = x1solid End With End If ActiveCell.Offset(1, 0).Select Loop End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Continuation of a macro | Excel Discussion (Misc queries) | |||
Line Continuation issue | Excel Worksheet Functions | |||
formula continuation with the paint too. | New Users to Excel | |||
continuation from yesterday | Excel Discussion (Misc queries) | |||
Continuation of the listbox question | Excel Programming |