I am a noobie myself, but for the second part of your questions here are a couple functions you could try:
The CInt() function will round decimals, but Convert.ToInt32() will throw an exception if there is a decimal.Code:Convert.ToInt32(text1) CInt(text1)
Hope this helps you :-)
Russ




Reply With Quote