View Full Version : Solved: flickering
securityman
01-11-2006, 11:49 AM
Is there a command in Word to keep the screen from flickering when the marcro performs it's duty?
Such as :
Application.EnableEvents=False and then
Application.EnableEvents=True
as there is in Excel.
Thanks
Ken Puls
01-11-2006, 12:11 PM
Hi there,
Actually, EnableEvents will toggle events from firing, not stop screen refreshes.
From the Word help, you could try:
Application.ScreenUpdating = False
'Code goes here
'To update in the middle add this line
Application.ScreenRefresh
'More code here
Application.ScreenUpdating = True
Funny thing is that I don't remember it being this easy last time I tried it in Word...
securityman
01-11-2006, 12:42 PM
Thanks Ken,
Actually that is what I meant. I always swap those two around for some reason.
Today I couldn't even remember ScreenUpdating even when trying to look it up in Help.
Thanks for refreshing my memory!
Don
Ken Puls
01-11-2006, 01:29 PM
Not a problem. Glad to be of help! :)
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.