Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Currently running Excel 2003
I have an excel program that I created for my wife's business that I want to exit via an "exit button" without having any more user interface. I can't seem to get past the standard excel message "Do you want to save this file? ........Yes....No.......Cancel" I just want to exit, no questions asked leaving the program intact. Any Ideas? Also, does anyone know of a website or place I can go to view excel programs that demonstrate vba programs using the different uses of UserForms and command buttons? Thanks for any help you can shed on this. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
This will work without saving workbook
Application.DisplayAlerts = False ActiveWorkbook.Close Application.DisplayAlerts = True This will work with saving workbook Application.DisplayAlerts = False ActiveWorkbook.save ActiveWorkbook.Close Application.DisplayAlerts = True " wrote: Currently running Excel 2003 I have an excel program that I created for my wife's business that I want to exit via an "exit button" without having any more user interface. I can't seem to get past the standard excel message "Do you want to save this file? ........Yes....No.......Cancel" I just want to exit, no questions asked leaving the program intact. Any Ideas? Also, does anyone know of a website or place I can go to view excel programs that demonstrate vba programs using the different uses of UserForms and command buttons? Thanks for any help you can shed on this. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Adding a command button to open another spreadsheet | Excel Programming | |||
Getting an ActiveX command button to do a spreadsheet function | Excel Worksheet Functions | |||
Send Open Spreadsheet using Command button | Excel Discussion (Misc queries) | |||
Deleting a Command Button from my Spreadsheet | Excel Discussion (Misc queries) | |||
I can't insert a Command Button into my spreadsheet | Excel Programming |