View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Stephen Bullen Stephen Bullen is offline
external usenet poster
 
Posts: 67
Default Cancelling the BeforeClose Event

Hi Troy,

I am using .NET Tools for Office with Excel 2003 Beta.

There is a 'Cancel' flag in the BeforeClose event and if
it is assigned the value of 'True' it is supposed to stop
Excel for closing, but this does not seem to work for me.

Is there any other work arounds?


This was a known issue in the betas of VSTO, but has been fixed (I
believe) in the release version.

Regards

Stephen Bullen
Microsoft MVP - Excel
www.BMSLtd.co.uk