Hi,
I have a VBA code not to save the work book on exit. I am looking for some help on a message box that also ask "Are you sure you want to exit". Yes No...
Many thanks in advance.
Hi,
I have a VBA code not to save the work book on exit. I am looking for some help on a message box that also ask "Are you sure you want to exit". Yes No...
Many thanks in advance.
[vba]
If MsgBox("Are you sure you want to exit", vbYesNo, "Workbook Save") = vbNo Then
'your code
End If
[/vba]
____________________________________________
Nihil simul inventum est et perfectum
Abusus non tollit usum
Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
James Thurber
Thanks XLdOriginally Posted by xld