Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,814
Default 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


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,494
Default 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




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,814
Default 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





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
No prompt on exit in Excel 2003 nsm Setting up and Configuration of Excel 0 May 3rd 06 10:56 PM
Excel 2003 Will Not Save On Exit tmyhlfgr Excel Discussion (Misc queries) 2 November 3rd 05 02:45 PM
Excel 2003 doesn't prompt to save on exit? Mole Chaser Setting up and Configuration of Excel 4 October 29th 05 03:21 AM
Excel 2003 doesn't prompt to save on exit? Alan Cannon Setting up and Configuration of Excel 1 October 23rd 05 11:02 PM
Excel 2003 - the "X" to exit the application option is greyed out. msiegert Excel Discussion (Misc queries) 5 April 19th 05 11:56 PM


All times are GMT +1. The time now is 07:19 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"