Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 288
  • Last Modified:

Command buttons re-sizing randomly when a workbook is opened or activated

I have a workbook with 6 command buttons on the first worksheet. Normally they stay in place and retain their size but...

Sometimes (when the workbook is opened or activated) one or more buttons will get bigger e.g. the width goes from say 162 to 3999 or they reposition themselves or they disappear (could this be because the width or height becomes zero?)

The workshop open event causes the button's visibiilty to change dependent on the user- but not to re-size.

Any ideas as to how to avoid this would be very much appreciated!!

Norman Mitchell
0
NormanMitchell
Asked:
NormanMitchell
  • 2
1 Solution
 
NormanMitchellAuthor Commented:
I have seen this once some years ago but cannot recall any detail as to cause or cure!
0
 
Rory ArchibaldCommented:
Are they Forms buttons or ActiveX ones, and is the worksheet's Zoom set to anything other than 100%?
0
 
zorvek (Kevin Jones)ConsultantCommented:
You should always use Forms controls versus ActiveX controls.

ActiveX controls are not compatible with Macintosh Office.
Mutiple ActiveX controls cannot (easily) be assigned to a single macro.
Forms contols do not have as many properties as ActiveX controls.
ActiveX controls tend to cause more problems (workbook corruption).
ActiveX controls don't always behave as expected (font size changes without prompting, not reset when desired, unusable at times).

Kevin
0
 
NormanMitchellAuthor Commented:
I think this was as good an answer as possible given the problem arises randomly - and is difficult / impossible to reproduce
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now