Home |
Search |
Today's Posts |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sub Test()
Dim rw As Range For Each rw In ActiveSheet.UsedRange.Rows If rw.Interior.ColorIndex = 37 Then 'Pale blue rw.Hidden = True End If Next rw End Sub Go to the VB IDE (alt-F11), insert a code module (InsertModule), and paste the code in. Then in excel ToolsMacroMacros... and select Test and Run. -- HTH Bob Phillips "srinivasan" wrote in message ... Hello, I want to use the cell colour with pale blue(not font colour). Expecting your kind response. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Coloured rows | New Users to Excel | |||
How to code Macro for hiding rows | Excel Worksheet Functions | |||
Coloured rows | New Users to Excel | |||
Coloured rows | New Users to Excel | |||
Is it possible to have a code that counts coloured cells? | Excel Programming |