Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Ed Ed is offline
external usenet poster
 
Posts: 279
Default Problem: Control Toolbox Control resizes when clicked

Hi all,

I have placed checkboxes and option buttons onto an Excel 2003 workbook from
the the Control Toolbox. When out of design mode and giving one of thse
controls focus (i.e. clicking) it dynamicly resizes. The more it is clicked
the smaller it becomes. Thus far there is no code behind these controls. I
have played with all the properties and object format directives (i.e. move
and resize with cell, move only, etc) to no avail. I;ve also tried forcing
the height/font properties when the control recieves the focus via VBA with
no effect. I've searched but can't seem to find this problem documented
elsewhere. has anyone seen this before? How do I resolve this problem?

Thanks in advance
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Problem: Control Toolbox Control resizes when clicked

You bet. The controls on the Control toolbar are ActiveX controls which, as
you've found, are prone to unexpected behaviours when used on worksheet
objects. I last experienced expected 'growth' in these controls (particularly
the List Box) in Excel 97. I found it was triggered when changing the
worksheet zoom level (I had code which detected the users screen resolution
and adjusted each sheets zoom level accordingly).

Unless you have a specific requirement to use ActiveX controls (such as
triggering multiple events) you might want to use the controls on the Forms
toolbar instead.

These are native Excel controls which have been around since at least Excel 5.
While they each only have one event (OnClick) you can achieve some fairly
sophisticated results without VBA code by linking the controls to ranges.
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Control Toolbox [email protected] Excel Discussion (Misc queries) 1 August 29th 08 05:58 PM
Controls Toolbox control vs Form Toolbox control Tony_VBACoder Excel Programming 3 January 28th 05 08:30 AM
Control Toolbar Image Resizes on Print Matt Jensen[_2_] Excel Programming 0 January 14th 05 04:05 PM
Set Focus Problem for textbox control on multipage control ExcelDeveloperSPR Excel Programming 1 July 16th 04 08:54 PM
Control Toolbox rich Excel Programming 3 July 15th 04 02:20 AM


All times are GMT +1. The time now is 10:30 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"