Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Stop Screen from flashing when running macros

Status
Not open for further replies.

hnunez4399

Programmer
Apr 10, 2003
62
US
I have create a application that runs thru macros. I notice that when this happens the screen slickers off and on. How do I prevent that from happening?
Thx,
 
Are you running the macros through VBA or just calling a macro in the on current event and the one macro calls the rest?

If using vba then I think you can use (but have not tested).

Application.ScreenUpdating = False
'Execute macro1
'Execute macro2
'.............
Application.ScreenUpdating = True

Andy Baldwin

"Testing is the most overlooked programming language on the books!
 
In your macro, just select "Echo" from the Action list, then set the "Echo On" field to "No". Probaby would be best to set it to No as the first action in your macro, then turn it back on as the last item.

Ken S.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top