Re: Converting documents
- From: "macropod" <macropod@xxxxxxxxxxxxxxx>
- Date: Mon, 28 Jul 2008 07:44:11 +1000
Hi Leu,
It's usual to have a line like
Application.ScreenUpdating = False
at the beginning of the code to stop/reduce screen flickering. It also speeds up processing, sometimes quite a lot, as Word doesn't have to redraw the screen for each change. At the end, you then run:
Application.ScreenUpdating = True
Even without those lines, however, PCs with slower CPUs and/or graphics cards might give the appearance of inactivity.
To give some feedback on the code's progress where execution could take a while, it is therefore common practice to provide feedback, either by way of updates on the status bar or via a progress indicator.
--
Cheers
macropod
[MVP - Microsoft Word]
"LEU" <LEU@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:89262094-EC8C-441F-888D-ADA468C82E4D@xxxxxxxxxxxxxxxx
When I am converting documents from WordPerfect to Word, I have a macro that
cleans up the new Word document. Some times when the macro runs it shows all
the changes being made and other times the screen goes blank while the
changes are being made. Is there a way to stop the screen from going blank?
When other people are running the macro they think the macro has locked up
and they try to stop it. Which then causes it to crash. Then they call me and
say it’s not working.
.
- Prev by Date: Re: Can't free the memory after unloading the userform
- Next by Date: Re: Remove Password
- Previous by thread: Re: Converting documents
- Index(es):
Relevant Pages
|