I have a YesNo message box.

If the user clicks 'Yes', it should proceed to open my exe.

If the user clicks 'No', the message box should close and disappear.

However, regardless of whether the user click Yes or No, it opens my exe. How can I solve this? My code is:

If Check1.Value = true Then
MsgBox "Do you want to proceed?", vbYesNo, "My exe"
End If

Shell ("My exe.exe")

End Sub

Thanks for any help.