LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default User-driven abort?


Hi all,

I have a procedure that randomizes data until certain criteria are met


Those criteria are user-driven, and if they enter in criteria that ar
too "tight" it could take a very long time for the randomization loop
to compelte (and it's possible that they will NEVER compelte if th
criteria are set too high)

I'm using the status bar to show a loop count number (otherwise I hav
screenupdating set to false), but would like to instead have some sor
of message box that shows the current loop count value and a big fa
"Abort" button that lets the user stop the loop without usin
crtl-break

Is this even possible in excel VBA? If it matters, screenupdating mus
be false, else the time it takes to execute a loop is too dependant o
how fast the user's machine can redraw the data as it's randomized

--
Ouk
-----------------------------------------------------------------------
Ouka's Profile: http://www.excelforum.com/member.php...fo&userid=2398
View this thread: http://www.excelforum.com/showthread.php?threadid=50661

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Abort recursion Mike NG Excel Programming 2 June 29th 05 09:08 AM
user event driven macro issue Jean-Paul Viel Excel Programming 0 September 18th 03 05:32 PM
user event driven macro issue steve Excel Programming 0 September 18th 03 05:00 PM
Abort or continue Jason Gatsby Excel Programming 0 August 5th 03 02:16 AM
Abort or continue Ed Ferrero[_4_] Excel Programming 0 August 5th 03 02:01 AM


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"