Hi,
I have the following code:
Private Sub RadBtnCI_Click()
Dim otable As Table
For Each otable In ActiveDocument.Sections(4).Range.Tables
Application.ScreenUpdating = False
Call HideTableRows_fromRadioButtons(otable)
Application.ScreenUpdating = True
Next
RadBtnCI.Select
End Sub
The "HideTableRows_fromRadioButtons" subroutine unhides plenty of rows in
many tables and calls other subroutines. It takes 15-20 seconds to complete.
During this time, despite of the Application.ScreenUpdating = False, the
left side of the screen gets filled up with black horizontal lines.
Application.ScreenUpdating = False DOES prevent the screen from showing how
each table expands and collapses gradually, but I'd like to know whether it's
possible to get rid of these annoying black lines that might confuse the user
and led him to think that the computer is going to crash.
The black lines do dissappear when the subroutine is complete, but 20
seconds of black lines filling up the screen is annoying, unprofessional and
makes you think the program is crashing.
Any help is appreciated,
Thank you