Command Button Anomaly

  • Thread starter Thread starter John Wilson
  • Start date Start date
J

John Wilson

I have a commandButton on a worksheet that calls up a UserForm.
If I click the button, bring up the UserForm and then exit the form
the caption on the button gets messed up (almost like the caption
was overwritten but shifted slightly).
Anyone ever run into this (and possibly a way to fix it)?
(TakeFocusOnClick is set to False although it acts the same
either way.)

Thanks,
John
 
sounds like a screen redraw problem (perhaps). Do you have screenupdating
set to false? Does it clear up if you minimize the sheet, then maximize
it?
 
Tom,

Re: Does it clear up if you minimize the sheet, then maximize it?
Yes it does.

I tried this from another post of yours:
DoEvents
Application.ScreenUpdating = False
Application.ScreenUpdating = True
DoEvents
and it seems to work.

Thanks,
John
 

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