Thread: simple macro
View Single Post
  #7   Report Post  
Posted to microsoft.public.excel.misc
ward376 ward376 is offline
external usenet poster
 
Posts: 360
Default simple macro

I can't recommend using this but you could also do this:

Sub Macro1()
Dim c As Range
For Each c In ActiveSheet.UsedRange
If c.Text = "#N/A" Then c.Formula = ""
Next
End Sub

Cliff Edwards