Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Answer = MsgBox("Would You Like To Close The Workbook?", vbYesNo)
If Answer = vbYes Then ActiveWorkbook.Save ActiveWorkbook.Close Else: Cells.Select "XCESIV" wrote in message ... I would like to setup the macro to confirm they want the macro to be performed. Can someone please help with this The macro will be assigned to a push button on the worksheet, once the report is complete they push the button and then i want it to create a pop up asking "do you wish to close this report YES/NO" if yes then peform close, if not do nothing. thanks -- XCESIV ------------------------------------------------------------------------ XCESIV's Profile: http://www.excelforum.com/member.php...o&userid=24271 View this thread: http://www.excelforum.com/showthread...hreadid=538473 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro recorded... tabs & file names changed, macro hangs | Excel Worksheet Functions | |||
Macro Help Needed - Excel 2007 - Print Macro with Auto Sort | Excel Worksheet Functions | |||
how to count/sum by function/macro to get the number of record to do copy/paste in macro | Excel Programming | |||
macro to delete entire rows when column A is blank ...a quick macro | Excel Programming | |||
Start Macro / Stop Macro / Restart Macro | Excel Programming |