Okay, this is strange, but I don't know enough about GoTo Subs to answer it myself.
I want my variable dOutput to go to certain Subs if it's a certain number. I know my dOutput gets a value, but when it gets to the following part, it seems to go off track.
The weird thing is too that when dOutput =1 Then it does what it is supposed to, when dOutput=3 Then it does what it is suppsed to, but when dOutput=2 Then calls on both subs, Time and Chart, for some reason.
Here is part of my code:
If dOutput = 1 Then
GoTo Time
GoTo Chart
ElseIf dOutput = 2 Then
GoTo Time
ElseIf dOutput = 3 Then
GoTo Chart
End If
Time:
'This is really long, so I left it out...
Chart:
frmChart.Show
Anyone know why?
