Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Exit buttons in excel

How do i make a button in a spread sheet that will close the sheet?
and also one that will close excel?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 172
Default Exit buttons in excel

To close the workbook put this in the button code......

ActiveWindow.Close

To quit Excel put this in the button code......

Application.Quit

Cheers
Nigel

"Aidan" wrote in message
om...
How do i make a button in a spread sheet that will close the sheet?
and also one that will close excel?





----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! 100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
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
Hyperlink to exit Excel Pimamedic Excel Worksheet Functions 8 April 23rd 08 12:11 AM
Excel 07 won't exit Elle Setting up and Configuration of Excel 0 July 27th 07 12:40 AM
exit excel welshwizzard Excel Discussion (Misc queries) 1 January 18th 05 12:02 AM
Close and Exit Excel MikeWaldron Excel Programming 0 September 8th 03 05:31 PM
Close and Exit Excel Stephan Kassanke Excel Programming 3 September 8th 03 05:30 PM


All times are GMT +1. The time now is 03:58 PM.

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

About Us

"It's about Microsoft Excel"