Application.ScreenUpdating = False
If ... something... Then
Range("calc02").EntireRow.Hidden = False // this is critical point
End If
Application.ScreenUpdating = True
The row is allready visible, so there is nothing to do, but images and textboxes on the sheet are repainted (they flicker). How can I prevent this flickering ?
Add
and this should solve most of these issues.
Add an additional if statement to check whether the row needs to be set to unhidden or not so it does not unnecessarily do so: