ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   RTD methods in excel called before workbook_open event (https://www.excelbanter.com/excel-programming/410244-rtd-methods-excel-called-before-workbook_open-event.html)

[email protected]

RTD methods in excel called before workbook_open event
 
If an excel file which includes RTD formulas is opened, then the RTD
components [written in C#] constructor and connect_data methods are
called before workbook_open event which occurs in Excel. My impression
was that the workbook_open event gets fired before the RTD methods are
called. This is a problem for me as I have about 100 RTD formulas
spread across different worksheets in the Excel workbook.

I was hoping to intercept the workbook_open event and disable
calculations on the inactive worksheets and only allow the active
worksheets to calculate. However, I am unable to do that just because
the RTD Component constructor and Connect_Data methods are being
called before the workbook_open event. I am using .Net 2.0 and Office
2003.

Is there any solution to my problem? Please let me know. Thanks in
advance.


All times are GMT +1. The time now is 01:38 AM.

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