screen flickering

  • Thread starter Thread starter ward376
  • Start date Start date
W

ward376

Is there a way to "smooth" the movement while these lines execute?

For i = 1 To 360 Step 1
wb.ActiveChart.Rotation = i
x = Timer
While Timer - x < 0.01
Wend
Next
 
Application.ScreenUpdating = False 'Put at the beginning of your code

Application.ScreenUpdating = True 'Put at the end of your code
 
Application.ScreenUpdating = False
before and
Application.ScreenUpdating = True
after
 
Mike/Gary's Student - keeping the screen from updating defeats the
purpose... this code rotates a 3d chart for viewing from all angles.
 

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

Similar Threads

Start when open file 6
PowerPoint Shuffle (swap) objects on PPT slides with the same name only 0
Macro help please 4
another code not working 4
Runtime error '16': 2
Array Sorting problem 4
Help with code - countdown timer 14
Stop my timer 4

Back
Top