ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Exit Excel (2003) (https://www.excelbanter.com/excel-programming/414223-exit-excel-2003-a.html)

Steve

Exit Excel (2003)
 
Is there a way for me to exit excel using a command button and vba code?

I have a button and have coded it to exit the workwork book it's on, but I
have been asked to code a button to exit Excel itself.

Can anyone help me please.

Thanks



Gary Keramidas

Exit Excel (2003)
 
Application.Quit

--


Gary


"Steve" wrote in message
...
Is there a way for me to exit excel using a command button and vba code?

I have a button and have coded it to exit the workwork book it's on, but I
have been asked to code a button to exit Excel itself.

Can anyone help me please.

Thanks





Steve

Exit Excel (2003)
 
So simple it hurts. lol Thank you very much :)

"Gary Keramidas" wrote:

Application.Quit

--


Gary


"Steve" wrote in message
...
Is there a way for me to exit excel using a command button and vba code?

I have a button and have coded it to exit the workwork book it's on, but I
have been asked to code a button to exit Excel itself.

Can anyone help me please.

Thanks







All times are GMT +1. The time now is 03:23 AM.

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