Solved

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

Posted on 2011-02-28
4
280 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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Suggested Solutions

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

820 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