Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi
The following resets the cell interior to Dark Blue - which is fine If myCell.Value = "Hit" Then With myCell.Offset(1).Resize(3, 1) .Interior.ColorIndex = 11 With .Validation .Delete End With End With End If However I need to clear the contents of the cells too - if I do this If myCell.Value = "Hit" Then With myCell.Offset(1).Resize(3, 1) .Interior.ColorIndex = 11 .ClearContents With .Validation .Delete End With End With End If it goes into an endless loop. Any suggestions Sandy |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel Macro Looping Helps | Excel Discussion (Misc queries) | |||
Looping macro | Excel Worksheet Functions | |||
Looping a macro | Excel Discussion (Misc queries) | |||
Macro looping problem. | Excel Discussion (Misc queries) | |||
Looping Macro to Find and Mark | New Users to Excel |