By John Walkenbach VBA for Excel 2016 is fast, but it’s not always fast enough.

Quick Jump Introduction | Example | Tutorial | Applications | Comments Prevent your screen from updating until your Excel macro is finished with Application. It can be used for other applications, but I find it most useful for Excel.

Screen Updating property is useful when running macros that jump from cell to cell, sheet to sheet, and workbook to workbook. Screen Updating to False stops your screen from flickering (refreshing) as your macro runs.

Article contributed by Daryl Lucas Many people know they can speed execution of Word Automation by turning off screen updating: Word. Screen Updating = False Many do not know, however, that they can get an even greater speed boost by hiding the application altogether.

Here is an example from a Visual Basic client: In the above example, Word launches but does not appear anywhere on the screen. (It does, though, show up in NT's Task Manager, in its list of running processes.) Despite this apparent lack of response, Word is very active and quite capable of doing everything it is told-creating a new document, inserting the message, , saving the file, closing it, and quitting.

Application object and replace them with invisibility lines: Notice that you want to put the Word. Visible = True line in an error-handler or in a spot where you know it will be run if something goes awry. (If you do get stuck with an invisible Word in the middle of a crash, you can launch the Task Manager and kill the WINWORD.

EXE process.) How much of a difference does invisibility make?

The functionality depends on Word, not on the Automation client.

But it also works even if you run your Automation code from Word itself.

I am trying to control screen updating without much success. Screen Updating = False However, I think my problem comes from this line: Active Window.

Seek View = wd Seek Current Page Header But I can't think of a better way to get into the header.

Don’t forget to set your Screen Updating property back to True when you’re done.