I would like to click an autoshape drawing and have the workbook close with the option to save or not.
Thx,
Printable View
I would like to click an autoshape drawing and have the workbook close with the option to save or not.
Thx,
Create a simple macro withQuote:
Originally Posted by kane
in it, then assign that macro to the shape.Code:Activeworkbook.Save
Thx, but not really what I need.
I want to click the drawing and have the workbook close and the dialog
box("Do you want to save the changes you made to abc.xls? Yes, No, Cancel") come up and give me the option to save or not.
:yes
Hi there,
Just change it a little, but still assign it to a shape.
Code should read:
It should prompt you if any changes were made.Code:Activeworkbook.Close
HTH,
Ok, that was too easy :)
Thx,
Glad to be of help!