Dim s As Range
For Each s In Selection
s.Formula = "=round(" &Mid(s.Formula, 2) &",2)"
Next
Sub 修改数据()Dim ran As Range
For Each ran In ActiveSheet.UsedRange
ran = Round(ran / 1000, 0)
Next
End Sub
欢迎分享,转载请注明来源:内存溢出
Dim s As Range
For Each s In Selection
s.Formula = "=round(" &Mid(s.Formula, 2) &",2)"
Next
Sub 修改数据()Dim ran As Range
For Each ran In ActiveSheet.UsedRange
ran = Round(ran / 1000, 0)
Next
End Sub
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)