For some reason, the following code doesn't work, how come?
Form_load()
Dim Number as integer
Number = 2
End Sub
Command1_click
Number = Number + 2
msgbox Number
End Sub
This code also will not work
Form_load()
Dim Number as integer
Dim Number2 as integer
Number2 = 2
Dim Number3 as integer
Number3 = 3
End Sub
Command1_click
Number = Number2 + Number3
msgbox Number
End Sub
How come???
Form_load()
Dim Number as integer
Number = 2
End Sub
Command1_click
Number = Number + 2
msgbox Number
End Sub
This code also will not work
Form_load()
Dim Number as integer
Dim Number2 as integer
Number2 = 2
Dim Number3 as integer
Number3 = 3
End Sub
Command1_click
Number = Number2 + Number3
msgbox Number
End Sub
How come???