Fill #N/A and blank cells with zero
Try the below macro....You can deal this within your fomulas itself; like
=IF(ISNA(formula),0,formula)
Sub Macro()
For Each cell In Range("C10:z200")
If cell.Text = "" Or cell.Text = "#N/A" Then cell.Value = 0
Next
End Sub
If this post helps click Yes
---------------
Jacob Skaria
"bijan" wrote:
Hi
How can I fill #N/A and Blank cells with Zero in specific area(c10:z200) via
vba.
Grateful for all ideas.
|