Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
BK BK is offline
external usenet poster
 
Posts: 1
Default How do I run a Macro, but not watch it run?

Does anyone have any idea if there is a way to run a macro, but to not
be able to see what it's doing. In other words, when the macro is
run, the screen will not go through the entire process, but will
simply reflect the changes when the prcedure is finished. Is there a
way to do that?

Thanks for any help you can offer.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,080
Default How do I run a Macro, but not watch it run?

Application.ScreenUpdating = False
'Run macro
Application.ScreenUpdating = True

--

Vasant


"BK" wrote in message
om...
Does anyone have any idea if there is a way to run a macro, but to not
be able to see what it's doing. In other words, when the macro is
run, the screen will not go through the entire process, but will
simply reflect the changes when the prcedure is finished. Is there a
way to do that?

Thanks for any help you can offer.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default How do I run a Macro, but not watch it run?

Precede the code with

Application.Screenupdating = False

and reset to True at the end.

--

HTH

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

"BK" wrote in message
om...
Does anyone have any idea if there is a way to run a macro, but to not
be able to see what it's doing. In other words, when the macro is
run, the screen will not go through the entire process, but will
simply reflect the changes when the prcedure is finished. Is there a
way to do that?

Thanks for any help you can offer.



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
Add Watch Gene Augustin Excel Discussion (Misc queries) 0 April 11th 10 04:33 PM
Watch Window Guilherme Excel Discussion (Misc queries) 0 April 20th 09 10:57 AM
what does watch do? jordan Excel Discussion (Misc queries) 2 April 2nd 08 07:49 PM
VBA Watch Window Adam1 Chicago Excel Discussion (Misc queries) 0 February 24th 05 08:37 PM
Watch cell value Nigel Graham Excel Programming 2 February 2nd 04 02:32 PM


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