K
Khoshravan
I am a newbie in VBA.
I want to set a cell value to zero after For and before Set statement in the
following MAcro. How can I do that.
Sub RoundToZero1()
For Counter = 1 To 12
Set curCell = Worksheets("Sheet1").Cells(Counter, 3)
If Abs(curCell.Value) < 0.5 Then Cells(Counter, 4) = "These numbers
are lass than 0.5"
Next Counter
End Sub
I want to set a cell value to zero after For and before Set statement in the
following MAcro. How can I do that.
Sub RoundToZero1()
For Counter = 1 To 12
Set curCell = Worksheets("Sheet1").Cells(Counter, 3)
If Abs(curCell.Value) < 0.5 Then Cells(Counter, 4) = "These numbers
are lass than 0.5"
Next Counter
End Sub