ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Excel "Insert Formula" dialog always call my user defined function (https://www.excelbanter.com/excel-programming/354674-excel-insert-formula-dialog-always-call-my-user-defined-function.html)

[email protected][_2_]

Excel "Insert Formula" dialog always call my user defined function
 
I know there is a way to do that by enumerating all to-level windows
and checking for "bosa_sdm_xln" where 'n' is the version of Excel.

The problem is that I have to do this check at each call of my user
defined fonction which is called very often and I lost a lot of cycles
there (I used a profiler to check that)

Is there any other way to do the same?

Thanks

Nic



All times are GMT +1. The time now is 10:06 AM.

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