Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Gene Taylor   on Feb 18 In MS Office Category.

  
Question Answered By: Beverly Brooks   on Feb 18

Here is the actual solution  per above subject.

Private Sub UserForm_Layout()
'================================================
'-Each time when Userform(panel) is moved/slid around
'-on the screen, this code  is reexecuted each time.
'-Therefore, check if Application.ScreenUpdating, is ON
'- or OFF; which indicates that this Userform(panel) is in
'-overlaying imaging mode.
'======================================
If Not Application.ScreenUpdating Then
'================================================
'-Then reset the screen  to prevent  the overlaying
'-of this Userform(panel) to itself.
'================================================
Application.ScreenUpdating = True
End If
End Sub

Share: 

 

This Question has 2 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Excel Chart "flickering" & UserForm "repainting" Or get search suggestion and latest updates.


Tagged: