Hi Guys
Anyone know how to round to the nearest 1000 using VBA.
Thanks
Hi Guys
Anyone know how to round to the nearest 1000 using VBA.
Thanks
Last edited by WAW; 11-24-2010 at 06:55 AM.
![]()
Range("H1") = Application.WorksheetFunction.Round(Range("I1"), -3)
Regards
Trevor Shuttleworth - Retired Excel/VBA Consultant
I dream of a better world where chickens can cross the road without having their motives questioned
'Being unapologetic means never having to say you're sorry' John Cooper Clarke
Or
![]()
Range("H1") = Round(Range("I1").Value/1000, 0) * 1000
Entia non sunt multiplicanda sine necessitate
Excelent thanks
You're welcome. Thanks for the feedback.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks