View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
onedaywhen onedaywhen is offline
external usenet poster
 
Posts: 459
Default Cancelling the BeforeClose Event

I tested this on VSTO 2003 and conclude it has not been fixed.

--

Stephen Bullen wrote in message ...
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