ActiveX controls shrinking (listboxes and command buttons)

Russell Hauf

MrExcel MVP
Joined
Feb 10, 2002
Messages
1,611
I have an ActiveX ListBox on a worksheet that I populate at the user's request or upon start up. But I'm experiencing a strange problem: the list box changes in size (gets thinner and a bit shorter, which also affects the font inside the list box). I've also seen this before with command buttons (on a sheet that had many command buttons).

Anybody had this problem, and if so, is there a fix? I think I'm going to just change to using a form, but I'd like to know if there is a fix for future reference.

Thank you,

Russell
 
Well at least I learned some new code! thanks everybody for their help...

Corticus
 
Upvote 0

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
As random as this is:
I centered the page horizontally, which fortunately needed to be done anyways, and bam, all my controls and check boxes line up, look right, and print like there supposed to. Only 4 hours on a check box, not bad!
 
Upvote 0

Forum statistics

Threads
1,214,784
Messages
6,121,539
Members
449,038
Latest member
Guest1337

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top