hello
I need to find out what's the problem . the code should delete the spaces among the number in column D . I have some space for some numbers . I need deleting the spaces to sum the values correctly way .
Sub TrimRng()
Dim rng As Range
Set rng = Range("D2:D94")
Application.ScreenUpdating = False
With rng
.Value = Evaluate(Replace("If(@="""","""",Trim(@))", "@", .Address))
End With
Application.ScreenUpdating = True
End Sub