Fairly easy problem I guess.
Here is what I want to do. I want to read information from 4 text boxes (1 string and 3 numbers). If the user did not enter a number then I want to jump to the errorhandler.
What I have done so far is to convert the textbox.text into integer but really want it be single/long because I need numbers bigger than 32000.
Any suggestions are appreciated.
Dim name, As String
Dim start, Number_of_Arrays, Increment, msg, number, replicate, max_arrays, i As Integer
On Error GoTo errorhandler
name = TextBox2.Text
start = Int(TextBox4.Text)
Number_of_Arrays = Int(TextBox3.Text)
Increment = Int(TextBox5.Text)
Here is what I want to do. I want to read information from 4 text boxes (1 string and 3 numbers). If the user did not enter a number then I want to jump to the errorhandler.
What I have done so far is to convert the textbox.text into integer but really want it be single/long because I need numbers bigger than 32000.
Any suggestions are appreciated.
Dim name, As String
Dim start, Number_of_Arrays, Increment, msg, number, replicate, max_arrays, i As Integer
On Error GoTo errorhandler
name = TextBox2.Text
start = Int(TextBox4.Text)
Number_of_Arrays = Int(TextBox3.Text)
Increment = Int(TextBox5.Text)