Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Ben Ben is offline
external usenet poster
 
Posts: 509
Default How to interrupt code

Is there a way that I can interrupt some code, at whatever stage it was at
when a button is clicked and then resume where it left off by clicking
another button. I would like to do this in real-time not in debug mode.
Thank you
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default How to interrupt code

What do you want to do within this interrupt?


--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Ben" wrote in message
...
Is there a way that I can interrupt some code, at whatever stage it was at
when a button is clicked and then resume where it left off by clicking
another button. I would like to do this in real-time not in debug mode.
Thank you



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 735
Default How to interrupt code

Stop - might be the answer? But depends what you want to do?

--

Regards,
Nigel




"Ben" wrote in message
...
Is there a way that I can interrupt some code, at whatever stage it was at
when a button is clicked and then resume where it left off by clicking
another button. I would like to do this in real-time not in debug mode.
Thank you


  #4   Report Post  
Posted to microsoft.public.excel.programming
Ben Ben is offline
external usenet poster
 
Posts: 509
Default How to interrupt code

Let's say for instance that the program is sequentially processing 100 rows
and prodiucing a result for each row in col Z.
Supposing I want to interrupt the program at some stage in order to inspect
the results thus far and then resume the processing of the remaining rows at
a later stage..... much like using a break point in debug mode and then
resuming the execution of the program.

"Nigel" wrote:

Stop - might be the answer? But depends what you want to do?

--

Regards,
Nigel




"Ben" wrote in message
...
Is there a way that I can interrupt some code, at whatever stage it was at
when a button is clicked and then resume where it left off by clicking
another button. I would like to do this in real-time not in debug mode.
Thank you


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default How to interrupt code

You could use Application.Inputbox(msg, Type:=8), and just ignore the
return.

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Ben" wrote in message
...
Let's say for instance that the program is sequentially processing 100
rows
and prodiucing a result for each row in col Z.
Supposing I want to interrupt the program at some stage in order to
inspect
the results thus far and then resume the processing of the remaining rows
at
a later stage..... much like using a break point in debug mode and then
resuming the execution of the program.

"Nigel" wrote:

Stop - might be the answer? But depends what you want to do?

--

Regards,
Nigel




"Ben" wrote in message
...
Is there a way that I can interrupt some code, at whatever stage it was
at
when a button is clicked and then resume where it left off by clicking
another button. I would like to do this in real-time not in debug mode.
Thank you






Reply
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
Interrupt code srroduin Excel Programming 2 May 11th 06 07:41 PM
Interrupt While loop jimbo_jones[_4_] Excel Programming 2 September 20th 05 04:49 PM
Difference Escape and Ctrl + Break to interrupt code RB Smissaert Excel Programming 10 April 25th 05 07:52 PM
QueryTables Interrupt if URL is Down Steve Hieb Excel Programming 0 November 17th 03 10:07 PM
Message box that does not interrupt code Claude Excel Programming 2 October 10th 03 04:12 PM


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

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

About Us

"It's about Microsoft Excel"