Thread: Deleting #N/A
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Gary''s Student Gary''s Student is offline
external usenet poster
 
Posts: 11,058
Default Deleting #N/A

Sub inams()
For Each r In Selection
If r.Text = "#N/A" Then
r.Clear
End If
Next
End Sub

--
Gary''s Student - gsnu200738