Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22
Default VBA equivalence tp to DOS "echo off"

How can I stop an Excel macro from displaying the intermediate images on the
screen until after it has finished. I guess I'm looking for the VBA
equivalence to "echo off" as in DOS. Your help will be much appreciated.

Brian


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 65
Default VBA equivalence tp to DOS "echo off"

Maybe something like:

Application.ScreenUpdating = False
<Yourcode
Application.ScreenUpdating = True

"Brian" wrote in message
...
How can I stop an Excel macro from displaying the intermediate images on
the
screen until after it has finished. I guess I'm looking for the VBA
equivalence to "echo off" as in DOS. Your help will be much appreciated.

Brian




  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,316
Default VBA equivalence tp to DOS "echo off"

To suppress both messages and screen updates you could use the following:

With Application
.DisplayAlerts = False
.ScreenUpdating = False
.StatusBar = "Processing your request, please wait..."
End With

your code goes here

And then reset the environment with the following:

With Application
.DisplayAlerts = True
.ScreenUpdating = True
.StatusBar = False
End With

--
Kevin Backmann


"Brian" wrote:

How can I stop an Excel macro from displaying the intermediate images on the
screen until after it has finished. I guess I'm looking for the VBA
equivalence to "echo off" as in DOS. Your help will be much appreciated.

Brian



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22
Default VBA equivalence tp to DOS "echo off"

Thank you for your help.

Brian

"Brian" wrote in message
...
How can I stop an Excel macro from displaying the intermediate images on
the
screen until after it has finished. I guess I'm looking for the VBA
equivalence to "echo off" as in DOS. Your help will be much appreciated.

Brian




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 equivalent to "echo off" brian Excel Discussion (Misc queries) 1 September 14th 06 02:49 AM
Equivalence of two sets of data vsoler Excel Discussion (Misc queries) 4 April 18th 06 06:08 PM


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