Hello. I'm trying to add a Message Box (with Yes and No buttons) to the beginning of a Macro that will ask the user to confirm if they want to continue. The code below works but I wanted to see if there is more efficiant code or "best practices" I should be considering.
Thank you
Sub Continue_With_Macro()
YesNo = MsgBox("This macro will ... Do you want to continue?", vbYesNo)
If YesNo = vbNo Then Exit Sub
ACTUAL MACRO/CODE STARTS HERE
End Sub
Thank you
Sub Continue_With_Macro()
YesNo = MsgBox("This macro will ... Do you want to continue?", vbYesNo)
If YesNo = vbNo Then Exit Sub
ACTUAL MACRO/CODE STARTS HERE
End Sub