ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   CalculateUntilAsyncQueriesDone() (https://www.excelbanter.com/excel-programming/418656-calculateuntilasyncqueriesdone.html)

Mark

CalculateUntilAsyncQueriesDone()
 

Any ideas on what can make this method hang?

I'm using "CalculateUntilAsyncQueriesDone()" to resolve references to an
OLAP cube before moving onto the next code statements.

Interestingly, I've got two button_click handlers that reference the same
helper code which contains the CalculateUntilAsyncQueriesDone method. In
button_click1 it hangs; in button_click2 it runs, resolving the refrences.

Really strange.

Any thoughts?

By the way I'm using C# in VSTO to automate Excel.

Thanks,
Mark


All times are GMT +1. The time now is 05:37 PM.

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