What would be a macro code if i want to create MsgBox
with options ="yes" "no" "cancel"
eg.
Are you sure you want to go out from the application and save it>
and then three choices to choose from
YES NO CANCEL
i seen that in my friend project and i fouund it better method than just the Exit button which would use macro like the one below:
Sub Exit_button()
'
' Exit_button Macro
' Takes you out of the application.
'
'
ActiveWorkbook.Save
ActiveWindow.Close
End Sub
thnx for help
with options ="yes" "no" "cancel"
eg.
Are you sure you want to go out from the application and save it>
and then three choices to choose from
YES NO CANCEL
i seen that in my friend project and i fouund it better method than just the Exit button which would use macro like the one below:
Sub Exit_button()
'
' Exit_button Macro
' Takes you out of the application.
'
'
ActiveWorkbook.Save
ActiveWindow.Close
End Sub
thnx for help