Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to NOT show other screens flashing by when macro runs
i have a macro that navigates to other worksheets and back and forth carrying out some designated macros and steps.
Is it possible to say when viewing SHEET1, that the macro does it's work, WITHOUT actually being able to see the screens flashing by in the progress? Corey.... |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to NOT show other screens flashing by when macro runs
Hi Corey,
Add... Application.ScreenUpdating = False to the beginning of your code. Ken Johnson |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to NOT show other screens flashing by when macro runs
Hi Corey,
Go ahead early in your VBA code with : Application.DisplayAlerts = False and don't forget at the end of your code to reverse the instruction with : Application.DisplayAlerts = True HTH Cheers Carim |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to NOT show other screens flashing by when macro runs
Insert: Application.ScreenUpdating = False at the beginning of the macro and Application.ScreenUpdating = True at the end. Usually it solves the problem. -- raypayette ------------------------------------------------------------------------ raypayette's Profile: http://www.excelforum.com/member.php...o&userid=29569 View this thread: http://www.excelforum.com/showthread...hreadid=571119 |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to NOT show other screens flashing by when macro runs
Sorry Corey,
I meant ScreenUpdating instead of DisplayAlerts ... Carim |
#6
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to NOT show other screens flashing by when macro runs
Carim wrote:
Sorry Corey, I meant ScreenUpdating instead of DisplayAlerts ... Carim Plus no need to reset back to TRUE. This happens automatically after code has finished. However, it does have to be TRUE if you are wanting to throw up an InputBox. Ken Johnson |
#7
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to NOT show other screens flashing by when macro runs
thanks guys.
I still get the popup calendar, but now if i click the X it closes and i still get the macro to run to completion. Corey.... "raypayette" wrote in message ... Insert: Application.ScreenUpdating = False at the beginning of the macro and Application.ScreenUpdating = True at the end. Usually it solves the problem. -- raypayette ------------------------------------------------------------------------ raypayette's Profile: http://www.excelforum.com/member.php...o&userid=29569 View this thread: http://www.excelforum.com/showthread...hreadid=571119 |
#8
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to NOT show other screens flashing by when macro runs
raypayette wrote:
Application.ScreenUpdating = True at the end. This is not necessary. It automatically resets to True after the macros finish. Don <www.donwiss.com (e-mail link at home page bottom). |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
VBA macro runs fine, but freezes if I try to do ANYTHING else whileit runs | Setting up and Configuration of Excel | |||
How to show Excel Worksheets in two screens? | Excel Worksheet Functions | |||
How can I make my data show as flashing in Excel? | Excel Discussion (Misc queries) | |||
how can I show a flashing symbol in an Excel sheet? | Excel Discussion (Misc queries) | |||
One macro runs then it auto runs another macro | Excel Discussion (Misc queries) |