RAJAQ
12/14/2016 - 8:29 AM

Use a MsgBox to operate other statements

Option Explicit

Sub GetAnswer()
Dim Ans As Integer

    Ans = MsgBox("Start printing?", vbYesNo + vbExclamation)
        Select Case Ans
            Case vbYes
                ActiveSheet.PrintOut
            Case vbNo
                MsgBox "Printing cancelled"
        End Select
        
End Sub

'+ vbExclamation 
'show the icon in msgbox. there are other icons available as well.