J
jbc
Hi,
I need to round up a number in VBA (Word 2000).
A number from a text box (X) is being will be used in a formula.
(X-100)/50
If the result has any decimal place, the answer needs to be rounded to the
next whole number.
For instance
(312-100)/50 = 4.24
4.24 needs to round up to 5
I know there is a roundup function in Excel, Is there an equivalent in VBA?
Any ideas on how to accomplish what I need?
Thanks.
jbc
I need to round up a number in VBA (Word 2000).
A number from a text box (X) is being will be used in a formula.
(X-100)/50
If the result has any decimal place, the answer needs to be rounded to the
next whole number.
For instance
(312-100)/50 = 4.24
4.24 needs to round up to 5
I know there is a roundup function in Excel, Is there an equivalent in VBA?
Any ideas on how to accomplish what I need?
Thanks.
jbc