Hi. I'm Paul and I'm currently studying an FdSc in ICT. We have started using MVB 2005 and I've been following a tutorial from the internet. However I appear to be having a problem entering some code. So I just wondered whether someone would mind helping me, Please. The code is as follows :
Dim number1 As Integer
Dim number 2 As Integer
Dim answer As Integer
number1 = 3
number2 = 5
answer = number1 + number2
MsgBox(answer).
I have followed the tutorial correctly so it is confusing me. Everytime I enter it the error 'end of statement expected' appears followed by 'name number 2 is not declared.' Help would be appreciated. Thanks . Paul
Dim number1 As Integer
Dim number 2 As Integer
Dim answer As Integer
number1 = 3
number2 = 5
answer = number1 + number2
MsgBox(answer).
I have followed the tutorial correctly so it is confusing me. Everytime I enter it the error 'end of statement expected' appears followed by 'name number 2 is not declared.' Help would be appreciated. Thanks . Paul