Solved

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

Posted on 2011-02-28
4
282 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

726 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