Home |
Search |
Today's Posts |
#7
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I started a test worksheet.
I put =A1 in C9 I deleted column A and ran the code and it showed the error. Maybe you could be more specific. Redan wrote: Hello Dave, the code doesn't list #REF errors! "Dave Peterson" a écrit dans le message de ... This checks to see what the formulas evaluate to: Option Explicit Sub testme() Dim TestRng As Range Dim wks As Worksheet Set wks = ActiveSheet With wks Set TestRng = Nothing On Error Resume Next Set TestRng = .Cells.SpecialCells(xlCellTypeFormulas, xlErrors) On Error GoTo 0 If TestRng Is Nothing Then MsgBox "No errors in formulas!" Else MsgBox "You've got errors he " & TestRng.Address(external:=True) End If End With End Sub Redan wrote: Hello, Does anyone have a vba code that checks if all the formulas inside a worksheet does not contain any errors such as #REF, etc ... ? Thank you in advance ! -- Dave Peterson -- Dave Peterson |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Unhiding Check Boxes in Excel 2002 | Excel Discussion (Misc queries) | |||
I am getting runtime errors in exel 2002, using old excel 97 temp | Excel Discussion (Misc queries) | |||
Protection of check boxes in excel 2002 | Excel Discussion (Misc queries) | |||
Check mark boxes in Excel 2002 | Excel Programming |