#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default echo off?

In a macro, I have a loop to copy rows from a workbook and
paste it to another workbook, so there are a lot
of "flashing" between screens in the run. Someone said if
I can use some kind of "echo off" command to aviod
flashing screens, it would cut down the run time a lot.
Is there such command that I can use in EXCEL macro??

Thanks.

Lee
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default echo off?

Lee,

Use the ScreenUpdating property to prevent the screen from updating. E.g.,

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


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Lee S." wrote in message
...
In a macro, I have a loop to copy rows from a workbook and
paste it to another workbook, so there are a lot
of "flashing" between screens in the run. Someone said if
I can use some kind of "echo off" command to aviod
flashing screens, it would cut down the run time a lot.
Is there such command that I can use in EXCEL macro??

Thanks.

Lee



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
Echo Contents of ActiveCell into a Text box. ChrisR Excel Discussion (Misc queries) 2 September 17th 09 04:00 PM
Range to echo format (hilite/fontcolors) of sister range? Schooner Excel Worksheet Functions 2 February 15th 08 07:20 AM
VBA equivalent to "echo off" brian Excel Discussion (Misc queries) 1 September 14th 06 02:49 AM
no data echo in fields Ron Oatney Excel Discussion (Misc queries) 0 January 13th 06 05:25 PM
Macro beginner - Echo Mary Ann Excel Discussion (Misc queries) 2 December 10th 05 12:41 PM


All times are GMT +1. The time now is 02:21 AM.

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"