Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
It looks like you might be able to do that without the loop...
Dim R As Range On Error Resume Next Set R = ActiveSheet.UsedRange.SpecialCells(xlCellTypeFormu las, xlErrors) On Error GoTo 0 If Not R Is Nothing Then R.Value = 0 R.NumberFormat = "0.00" End If Ignore this code... it will change ALL error cells to 0.00, not just #N/A errors. Rick |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell | Excel Discussion (Misc queries) | |||
Error Help - Method "Range" of object "_Worksheet" failed. | Excel Programming | |||
What is Error "Method "Paste" of object "_Worksheet" failed? | Excel Programming | |||
Complex if test program possible? If "value" "value", paste "value" in another cell? | Excel Discussion (Misc queries) | |||
Getting "compile error" "method or data member not found" on reinstall | Excel Programming |