View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips[_6_] Bob Phillips[_6_] is offline
external usenet poster
 
Posts: 11,272
Default uit closing excel after closing a workbook

Chris,

Use

Application.Quit

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"CWalsh " wrote in message
...
Hi all,
I would like to be able to close active workbook (without saving) and
then close Excel completely via a button on a userform.
At present I use the following to close the workbook but this leaves
Excel running.
ActiveWorkbook.Close False
Thanks in advance
chris


---
Message posted from http://www.ExcelForum.com/