ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   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 (https://www.excelbanter.com/excel-discussion-misc-queries/196950-interrupting-long-calculations-excel-hi-all-i-am-having-verylong-calculation-excel-using-vba-course-i-know-i-can-hit-esc-orctrl-break-interrupt-vba-program-but-i-found-due-too-long-runningprocess-excel-window-stop.html)

LunaMoon

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

Barb Reinhardt

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


LunaMoon

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?


Barb Reinhardt

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?




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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com