Converting documents

L

LEU

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.
 
D

Doug Robbins - Word MVP

It might be easier to help if you gave us the code of the macro. Is macro
running a batch process to do the cleaning up on multiple documents each
time it is run?

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 
M

macropod

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top