J
JL
Hi,
Here is my problem.
I am trying to write a macro to round number in a range of
cell.
This is the macro.
========================================================
Sub Whole_Number()
Dim c As Range
For Each c In Worksheets("LC").Range("E5:AM9")
c.Value = Round(c.Value)
Next c
End Sub
=========================================================
But, it will lock up Excel (99% CPU utilized). Is there
something wrong with what I did?
Thank you for the help.
Here is my problem.
I am trying to write a macro to round number in a range of
cell.
This is the macro.
========================================================
Sub Whole_Number()
Dim c As Range
For Each c In Worksheets("LC").Range("E5:AM9")
c.Value = Round(c.Value)
Next c
End Sub
=========================================================
But, it will lock up Excel (99% CPU utilized). Is there
something wrong with what I did?
Thank you for the help.