running macros silently

Forum home » Delegate support and help forum » Microsoft Word Training and help » Running macros 'silently'

Running macros 'silently'

resolvedResolved · Low Priority · Version 2007

James has attended:
Excel Advanced course

Running macros 'silently'

Although I learned of this trick in an Excel course, I'm posting it in the Word forum, as it's just as relevant to Word.

At a recent Excel 2007 Advanced course, the instructor (I think it was Peter) showed an instruction that can be added to a macro so that it doesn't display the drawing of actions on screen, but instead simply generates the end result.

But I can't find the instruction! Can someone please post this command? Thanks.

James

RE: Running macros 'silently'

Hi James, thanks for your query. The line of code is:

Application.Screenupdating = False

Best practice is to switch it back on again at the end of the code:

Application.Screenupdating = True

Hope this helps,

Anthony

 

Training courses

 

Training information:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Word tip:

Inserting a blank row above a table at the top of a page

This only works if you have created your table at the top of a page.

Go into the first cell and make sure cursor is at start of cell (if you have typed in it) and press RETURN this then puts a blank line above your table.

View all Word hints and tips


Server loaded in 0.06 secs.