G
Greenhorn
This is gotta be basic and it did work when I first ran
it. But does not today.
I just want it to go to a different sub dependant on the
answer.
Thanks,
------------------------------
Sub Sub1()
Range("i23").Select
Answer = MsgBox("Yes or No?", vbYesNo, "Answer")
If Answer = vbYes Then
ActiveCell.Value = "Y"
Range("i23").Select
Else
ActiveCell.Value = "N"
Range("i23").Select
End If
If Answer = vbYes Then
Application.Goto: Sub2
Else
Application.Goto: Sub3
End If
End Sub
it. But does not today.
I just want it to go to a different sub dependant on the
answer.
Thanks,
------------------------------
Sub Sub1()
Range("i23").Select
Answer = MsgBox("Yes or No?", vbYesNo, "Answer")
If Answer = vbYes Then
ActiveCell.Value = "Y"
Range("i23").Select
Else
ActiveCell.Value = "N"
Range("i23").Select
End If
If Answer = vbYes Then
Application.Goto: Sub2
Else
Application.Goto: Sub3
End If
End Sub