Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 58
Default How to keep from going dizzy when my code runs

I know I've seen this tip on this group before, but for the life of me I
can't even begin to think on how to do a Google search for it.

How do I keep my Workbook and Worksheets from flashing and changing as my
code runs? My code is working, but it's terrible on the eyes, makes me kind
of dizzy. I know there's a simple statement that takes care of this, just
can't remember what it is for the life of me.

Anybody?

Thanks!

-gk


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,089
Default How to keep from going dizzy when my code runs

Application.ScreenUpdating = False
' your code
Application.ScreenUpdating = True

Regards

Trevor


"TBA" wrote in message
...
I know I've seen this tip on this group before, but for the life of me I
can't even begin to think on how to do a Google search for it.

How do I keep my Workbook and Worksheets from flashing and changing as my
code runs? My code is working, but it's terrible on the eyes, makes me

kind
of dizzy. I know there's a simple statement that takes care of this, just
can't remember what it is for the life of me.

Anybody?

Thanks!

-gk




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 620
Default How to keep from going dizzy when my code runs

TBA,

Precede it by

Application.DisplayAlerts = False

reset it afterwards if there is more code, and not the end of the sub.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"TBA" wrote in message
...
I know I've seen this tip on this group before, but for the life of me I
can't even begin to think on how to do a Google search for it.

How do I keep my Workbook and Worksheets from flashing and changing as my
code runs? My code is working, but it's terrible on the eyes, makes me

kind
of dizzy. I know there's a simple statement that takes care of this, just
can't remember what it is for the life of me.

Anybody?

Thanks!

-gk




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 620
Default How to keep from going dizzy when my code runs

Oops,

I mean Application.ScreenUpdating = False not DisplayAlerts as I said. Reset
at end.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Bob Phillips" wrote in message
...
TBA,

Precede it by

Application.DisplayAlerts = False

reset it afterwards if there is more code, and not the end of the sub.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"TBA" wrote in message
...
I know I've seen this tip on this group before, but for the life of me I
can't even begin to think on how to do a Google search for it.

How do I keep my Workbook and Worksheets from flashing and changing as

my
code runs? My code is working, but it's terrible on the eyes, makes me

kind
of dizzy. I know there's a simple statement that takes care of this,

just
can't remember what it is for the life of me.

Anybody?

Thanks!

-gk






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
VBA macro runs fine, but freezes if I try to do ANYTHING else whileit runs Rruffpaw Setting up and Configuration of Excel 1 September 17th 11 01:25 PM
vba code runs...need spaces ........ Wanna Learn Excel Discussion (Misc queries) 2 January 20th 09 12:44 PM
One macro runs then it auto runs another macro PG Excel Discussion (Misc queries) 2 September 1st 06 09:30 PM
Can you code a macro so it runs multiple times in the same workboo dpmac Excel Discussion (Misc queries) 2 April 18th 06 07:40 PM
Code that runs each time AFTER a sheet is cut off the book keks Excel Programming 1 August 22nd 03 02:01 PM


All times are GMT +1. The time now is 06:06 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"