VBAString Tip 2: Excel VBA Msgbox Yes No

This is how to add a msgbox with a yes and no prompt to your Excel worksheet.

Just add a button to your worksheet and then add the following code to its “Click” event:

Let me know if you have any questions

I consent to having this website store my submitted information so they can respond to my inquiry. See our privacy policy to learn more how we use data.

Please remember to subscribe to my youtube channel

Been helped? Get these!