Button flicker with screenupdating

  • Thread starter Thread starter Mark Anders via OfficeKB.com
  • Start date Start date
M

Mark Anders via OfficeKB.com

Hello all,

I have the following problem I hope someone will be able to help me with.
I have a program that hiddes/unhiddes different rows of an excel database.
In order to avoid annoying flicker I have set the "screenupdate=false" at
the beginning of the macro and back to "true" when it has completed. This
works fine.
However a Button and a Textbox also located on the sheet (outside the
scroll area) do continues to flicker.
Is there anyway to prevent this from happening? Thankx so much for sharing
you knowledge.

Mark A
 
Thanks gocush.
Checked your suggestion but flicker remains. The buttons by the way are
located on part of the sheet that does not get hidden/unhidden and so do
not moved relative to the cells they sit on.
 
Hi Mark,

A slight flick each time Screenupdating is set to true is often normal,
particularly if there are several objects on the sheet. Depends also on what
other changes are going on, it can be worse if an object is selected. Ensure
that Screenupdating is only reset once in the entire routine. If it's
changing many time in a loop you will get a lot of flicker.

Regards,
Peter T
 

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

Back
Top