I am having a hard time figuring out the best way to find and replace a string value in a column of over 4,000 rows where the value should be numeric.
The customer collects several workbooks and wants to consolidate them. I have that working but one particular column should be a numeric values but occasionally the reporting system will dump out a extraneous string character in that column.
Here is what I am doing right now with VBA
For Each r in rng
if not IsNumeric(r.value2) then r.value=null
Next r
As you can imagine, this for/next loop takes a while to run. There has got to be a better way to deal with this. Any help would be appreciated.
Thank you, Fred
PS: I have toyed with .Find and .Replace but couldn't make them work.