Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Whatever
how to correct a number to 2 decimal places in vba
M J Hartwell
Programming language:
Whatever
2021-07-01 19:42:30
0
Q:
how to correct a number to 2 decimal places in vba
ritchieee
Code:
Whatever
2021-07-21 13:05:46
Sub
rounding() ActiveCell.
Select
Selection.Value = Format(ActiveCell,
"#.00"
)
End
Sub
0
Tags
number
how
vba
Related
xcode truncate number of decimal places of double
binary to decimal vba code
how to convert binary to decimal in vba code
New to Communities?
Join the community