Dim ots As Long ots = tbOTS.Text If ots Mod 101 <> 0 Then tbOTS.Text = ots - (ots Mod 101) End If
I could now easily write another if statement to alert weather it divides evenly or not. Thanks for the help Guys!
(on LW use the [ code] type your text here [ /code] tags