View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Mark Mark is offline
external usenet poster
 
Posts: 989
Default 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