Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc,microsoft.public.excel.programming,microsoft.public.excel
external usenet poster
 
Posts: 97
Default Interrupting long calculations in Excel? Hi all, I am having a verylong calculation in Excel using VBA. Of course I know I can hit ESC orCTRL+BREAK to interrupt the VBA program. But I found due to too long runningprocess, the Excel window stop to

Interrupting long calculations in Excel?

Hi all,

I am having a very long calculation in Excel using VBA.

Of course I know I can hit ESC or CTRL+BREAK to interrupt the VBA
program.

But I found due to too long running process, the Excel window stop to
respond for very long time,

besically it's like "not responding" situation with "not responding"
on the windows title bar...

It doesn't seem to accept any more key strokes, not to say ESC or CTRL
+BREAK.

What can I do to rein/stop my program?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc,microsoft.public.excel.programming,microsoft.public.excel
external usenet poster
 
Posts: 3,355
Default Interrupting long calculations in Excel? Hi all, I am having a v

Try this to speed up execution

Application.ScreenUpdating = FALSE
Application.Calculation = xlCalculationManual
At the begining of the code and

Application.ScreenUpdating = True
Application.Calculation =XlCalculationAutomatic

At the end of the code

--
HTH,
Barb Reinhardt



"LunaMoon" wrote:

Interrupting long calculations in Excel?

Hi all,

I am having a very long calculation in Excel using VBA.

Of course I know I can hit ESC or CTRL+BREAK to interrupt the VBA
program.

But I found due to too long running process, the Excel window stop to
respond for very long time,

besically it's like "not responding" situation with "not responding"
on the windows title bar...

It doesn't seem to accept any more key strokes, not to say ESC or CTRL
+BREAK.

What can I do to rein/stop my program?

Thanks

  #3   Report Post  
Posted to microsoft.public.excel.misc,microsoft.public.excel.programming,microsoft.public.excel
external usenet poster
 
Posts: 97
Default Interrupting long calculations in Excel? Hi all, I am having a v

On Jul 30, 7:30*pm, Barb Reinhardt
wrote:
Try this to speed up execution

Application.ScreenUpdating = FALSE
Application.Calculation = xlCalculationManual
At the begining of the code and

Application.ScreenUpdating = True
Application.Calculation =XlCalculationAutomatic

At the end of the code

--
HTH,
Barb Reinhardt

"LunaMoon" wrote:
Interrupting long calculations in Excel?


Hi all,


I am having a very long calculation in Excel using VBA.


Of course I know I can hit ESC or CTRL+BREAK to interrupt the VBA
program.


But I found due to too long running process, the Excel window stop to
respond for very long time,


besically it's like "not responding" situation with "not responding"
on the windows title bar...


It doesn't seem to accept any more key strokes, not to say ESC or CTRL
+BREAK.


What can I do to rein/stop my program?


Thanks


Thanks. The purpose of this is to allow me to interrupt, or speed up
the code?

  #4   Report Post  
Posted to microsoft.public.excel.misc,microsoft.public.excel.programming,microsoft.public.excel
external usenet poster
 
Posts: 3,355
Default Interrupting long calculations in Excel? Hi all, I am having a

As stated in the original reply, it should help speed up execution.
--
HTH,
Barb Reinhardt



"LunaMoon" wrote:

On Jul 30, 7:30 pm, Barb Reinhardt
wrote:
Try this to speed up execution

Application.ScreenUpdating = FALSE
Application.Calculation = xlCalculationManual
At the begining of the code and

Application.ScreenUpdating = True
Application.Calculation =XlCalculationAutomatic

At the end of the code

--
HTH,
Barb Reinhardt

"LunaMoon" wrote:
Interrupting long calculations in Excel?


Hi all,


I am having a very long calculation in Excel using VBA.


Of course I know I can hit ESC or CTRL+BREAK to interrupt the VBA
program.


But I found due to too long running process, the Excel window stop to
respond for very long time,


besically it's like "not responding" situation with "not responding"
on the windows title bar...


It doesn't seem to accept any more key strokes, not to say ESC or CTRL
+BREAK.


What can I do to rein/stop my program?


Thanks


Thanks. The purpose of this is to allow me to interrupt, or speed up
the code?


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
Excel takes long time to show a "custom view" AuExcel Excel Discussion (Misc queries) 0 September 15th 09 08:03 PM
Interrupting long calculations in Excel? Hi all, I am having a verylong calculation in Excel using VBA. Of course I know I can hit ESC orCTRL+BREAK to interrupt the VBA program. But I found due to too long runningprocess, the Excel window stop to LunaMoon Excel Discussion (Misc queries) 3 July 31st 08 04:47 PM
Can't bold or format because program goes into "not responding" [email protected] Excel Discussion (Misc queries) 2 April 20th 07 09:05 PM
Excel 2003 not responding to "X" to close program Barb Widman - Norwalk City Schools Excel Discussion (Misc queries) 1 May 17th 06 06:37 PM
program says "not responding" Randy Y Excel Discussion (Misc queries) 1 April 24th 06 07:33 PM


All times are GMT +1. The time now is 03:03 AM.

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"