abbaddon223
Registered User.
- Local time
- Today, 07:07
- Joined
- Mar 13, 2010
- Messages
- 162
Hi,
I'm struggling a little with this one if anyone can help please? I'm trying to put multiple IF statements into one proceedure like the below:
Dim Answer As Integer
Answer = MsgBox("Have You Selected The Correct Outcome?", vbCritical + vbYesNo, "Continue Request?")
If Answer = vbYes Then 'Works fine here
'The bit I can't get right
if [Lastoutcome] = "Appt Set" then
Msgbox "Do Some Stuff"
else
msgbox "Do Some Other stuff"
exit sub
end if
If Answer = vbNo Then
msgbox "Do Some Further Other stuff"
Any help massively apprecaited!!
I'm struggling a little with this one if anyone can help please? I'm trying to put multiple IF statements into one proceedure like the below:
Dim Answer As Integer
Answer = MsgBox("Have You Selected The Correct Outcome?", vbCritical + vbYesNo, "Continue Request?")
If Answer = vbYes Then 'Works fine here
'The bit I can't get right
if [Lastoutcome] = "Appt Set" then
Msgbox "Do Some Stuff"
else
msgbox "Do Some Other stuff"
exit sub
end if
If Answer = vbNo Then
msgbox "Do Some Further Other stuff"
Any help massively apprecaited!!