Function RoundToNearest(Number As Single, Optional RoundTo As Single = 1)
[COLOR="Green"] '1) divide your number by what you want to round to,
'2) round that result, and
'3) multiply by what you want to round to
[/COLOR] RoundToNearest = CLng(Number / RoundTo) * RoundTo
End Function