How to shutdown Excel from within a macro


Posted by Jonathan on June 15, 2001 2:39 AM

Hi,

Is there a way of shutting down Excel from within a macro ? I can close the workbook but I need to shutdown Excel as well ?

Thanks

Jonathan

Posted by Malc on June 15, 2001 3:00 AM

sub Quitter
quit or application.quit 'have got Excel at home to test
end sub



Posted by Jonathan on June 15, 2001 5:29 AM

Thanks application.quit works fine.

Jonathan