Message box with multiple buttons

L

LB79

Im trying to create a message box that has the message "Do you want t
print?" with buttons "Yes" and "No". When yes is selected the prin
macro is activated. When no is selceted the macro stops and goes bac
to the work sheet.
Can anyone help me?

Thank
 
R

Rollin_Again

Code
-------------------

If MsgBox("DO YOU WANT TO PRINT?", vbYesNo, "PRINT") = vbYes Then

'Your code for print macro

Else

End


End If
 
Top