Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have this code:
Sub t() For Each s In ActiveWorkbook.Sheets For Each c In s.UsedRange.Cells If IsError(c) Then errval = c.Value If errval = CVErr(xlErrRef) Then c.Interior.ColorIndex = 3 End If End If Next c Next s End Sub It colors all cells red, if the contains the #REF! error. The problem is, that my client would like it to select the first instans of the error and stop. When he runs it a second time, it should stop with the second instans and so on. I don't see how this can be done? Jan |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel Throwing Circular Errors When No Errors Exist | Excel Worksheet Functions | |||
Stopping errors when a find statement doesn't find! | Excel Programming | |||
To find errors | New Users to Excel | |||
VBA- Find Errors | Excel Programming | |||
Find errors | Excel Programming |