Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Excel
123quattro
charting
crashesgpfs
datamap
excel
interopoledde
links
misc
newusers
printing
programming
querydao
sdk
setup
templates
worksheet.functions
  
 
date: Sun, 18 May 2008 17:40:07 -0700 (PDT),    group: microsoft.public.excel.sdk        back       


Escape long running calculation   
How do I interrupt long running calulations?

I would like to catch the escape button and stop the calculation if
possible.

Lars
date: Sun, 18 May 2008 17:40:07 -0700 (PDT)   author:   Lars Schouw

Re: Escape long running calculation   
On May 19, 1:40 am, Lars Schouw  wrote:
> How do I interrupt long running calulations?
>
> I would like to catch the escape button and stop the calculation if
> possible.
>
> Lars

I guess from the fact that you're posting here you own the addin? :)

Call back into excel to see if an abort has been requested:
http://msdn.microsoft.com/en-us/library/bb687825.aspx

you don't want to check /too/ frequently, or you'll end up slowing
yourself down....

Cheers,

Lee.
date: Mon, 19 May 2008 01:51:17 -0700 (PDT)   author:   lab27

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us