Exit buttons in excel

  • Thread starter Thread starter Aidan
  • Start date Start date
A

Aidan

How do i make a button in a spread sheet that will close the sheet?
and also one that will close 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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top