Yes. Val Or CInt/CLng or whatever type the sNum variable is.