Massey1337
New Member
- Joined
- Mar 8, 2009
- Messages
- 17
Hey I'm a new programmer and new to this forum, so hi, and I need help with some of my coding for a simple fortune teller program.
This is my coding:
I need help a.s.a.p. with this as its for college, thanks in advance.
Elliot.
This is my coding:
The error as stated in the title is Compile error: Else without ifDim Text1 As Integer
Dim Text2 As Integer
Dim Text3 As Integer
Private Sub Command1_Click()
If Month = 1 - 4 Then MsgBox ("It's looking good")
ElseIf Month = 5 - 8 Then MsgBox ("Don't do it!")
ElseIf Month = 9 - 12 Then MsgBox ("You're doomed!")
Else
MsgBox ("Please enter a valid date of birth")
End If
End Sub
Private Sub Form_Load()
Day.Text = ""
Month.Text = ""
Year.Text = ""
End Sub
I need help a.s.a.p. with this as its for college, thanks in advance.
Elliot.