To delete the progress report, comment out or delete the line:
Application.StatusBar = "Processing paragraph " & i & " of " & l
To give, say, a % progress report requires adding more code to calculate the %. That calculation has its own overhead which, compared, updating the screen as per the existing progress report, takes only marginally less time. An alternative would be to relocate the existing status code to just above/below the 'DoEvents' line. That'll update the report only every 10th paragraph.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|