Cancelling beforequit crashes Excel 2004 v.X

A

Aaron Graham

I have just found a bug in both v.X and 2004.
Easy to reproduce:
1.) create new WB
2.) add a Workbook_BeforeClose macro that sets cancel = true
3.) tell Excel to quit, either by choosing menu item or Command+Q

Even though I have set cancel = true Excel still quits, and some times
it crashes.
 

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

Top