Solved

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

Posted on 2011-02-28
4
279 Views
Last Modified: 2012-05-11
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
Comment
Question by:NormanMitchell
  • 2
4 Comments
 

Author Comment

by:NormanMitchell
ID: 34998866
I have seen this once some years ago but cannot recall any detail as to cause or cure!
0
 
LVL 85

Expert Comment

by:Rory Archibald
ID: 34998929
Are they Forms buttons or ActiveX ones, and is the worksheet's Zoom set to anything other than 100%?
0
 
LVL 81

Accepted Solution

by:
zorvek (Kevin Jones) earned 500 total points
ID: 34999011
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
 

Author Closing Comment

by:NormanMitchell
ID: 35007762
I think this was as good an answer as possible given the problem arises randomly - and is difficult / impossible to reproduce
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
On some Windows 7 (SP1) computers, Windows Update becomes super slow even the computer is reasonably fast.  There's one solution that seemed to have worked well for me (after trying a few other suggested solutions).
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question