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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Word Macros: Run in Background 2

Status
Not open for further replies.

RoguePoet01

Programmer
Oct 1, 2003
302
US
Hi,

I'm writing a simple footer macro for Word 2003.

Seems like there used to be a way to make this code execute in the background, but I can't remember how to do it.

Any suggestions?

Thanks.
 
What do you mean by "run in the background"? Do you mean run with no visible screen changes? If so,

Application.ScreenUpdating = False

will do it. Just remember to turn it back to True at the end of your macro.


Gerry
 
Wait....

Actually, that's still not working.

For some reason the macro is ignoring the FALSE setting.
 
Application.ScreenUpdating is always True when you're in VBE.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top