im getting a error here..pls help
As the code, can tell what i want to do is go through each cells in my used range. clearcontent for cells containing "NA" or "#N/A"
Regards
Edmund
As the code, can tell what i want to do is go through each cells in my used range. clearcontent for cells containing "NA" or "#N/A"
For Each cell In w1.UsedRange.cells
If cell.Value = "NA" Or cell.Value = "#N/A" Then cell.ClearContents
Next cell
Regards
Edmund