ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How do i create a command button or macro to exit Microsoft Excel (https://www.excelbanter.com/excel-worksheet-functions/24284-how-do-i-create-command-button-macro-exit-microsoft-excel.html)

raj

How do i create a command button or macro to exit Microsoft Excel
 
help, i need to create a command button or macro that when clicked will exit
microsoft excel!! please help.:(

Paul B

raj, use Application.Quit

If you're not familiar with Macros, see David McRitchie's "Getting Started
with Macro and User Defined Functions":
http://www.mvps.org/dmcritchie/excel/getstarted.htm

or post back with more info

--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003

"raj" wrote in message
...
help, i need to create a command button or macro that when clicked will

exit
microsoft excel!! please help.:(





All times are GMT +1. The time now is 09:50 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com