MS Word 2003

A macro contains the following statements:

ActiveDocument.ShowGrammaticalErrors = False
ActiveDocument.ShowSpellingErrors = False

After issuing the above two statements, what statement will update the
screen? The colored underlining remains in the currently-viewed text.
Only after I scroll the document so that a new area of text is
displayed is the colored underlining gone. (If I scroll one-half the
screen height, the coloring remains in the previously displayed area,
and is gone only from the newly displayed area.)

Thanks,

Fred Holmes

Re: Updating the screen by Jean-Guy

Jean-Guy
Fri Sep 24 13:52:18 CDT 2004

Bonjour,

Dans son message, < Fred Holmes > écrivait :
In this message, < Fred Holmes > wrote:

|| MS Word 2003
||
|| A macro contains the following statements:
||
|| ActiveDocument.ShowGrammaticalErrors = False
|| ActiveDocument.ShowSpellingErrors = False
||
|| After issuing the above two statements, what statement will update the
|| screen? The colored underlining remains in the currently-viewed text.
|| Only after I scroll the document so that a new area of text is
|| displayed is the colored underlining gone. (If I scroll one-half the
|| screen height, the coloring remains in the previously displayed area,
|| and is gone only from the newly displayed area.)
||

Have you tried:
Application.ScreenRefresh
?

--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org