Hello,
Are there equivalent functions for RoundUp RoundDown in VBA ?
On the cell if I put RoundDown(1234, -1) it gives me 1230
but I could not find a function to achieve this while writing this in a macro.
Do I need to do any inclusion ?
It gives "Sub or Function not defined" error for RoundDown on compilation.
For the time being, I wrote a dummy function to do the RoundDown as it was very urgent.
Also the Round function behaves diffently in VBA. It does not accept a negative num_digits parameter. i.e. Round(1234, -1) fails in VBA but works as "RoundDown" in the xls.
Is there no way to achieve RoundDown in VBA ??
Regards,
Parag