ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Trapping Excel events in c# (https://www.excelbanter.com/excel-programming/355985-trapping-excel-events-c.html)

tim m

Trapping Excel events in c#
 
I have an Excel add in written in c# in which I need to override Excel's
default Save snd Double click behaviour. I have added the handlers
WorkbookBeforeSave and SheetBeforeDoubleClick and in each I have set Cancel =
true. The handlers trap the events as expected and Cancel is set to true, yet
Excel continues to execute it's default behaviour for the events.

Help!!!


All times are GMT +1. The time now is 11:06 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com