The Incredible Growing VBA Button!

Doug Blackwell

New Member
Joined
Apr 13, 2008
Messages
18
I created a user interface in an Excel worksheet. There were a few Active X buttons which loaded data and created reports. It worked fine on my computer. However on someone else's laptop the buttons were larger that they should be. I don't think it was screen resolution as the rest of the sheet was normal. THEN... Something really weird happened. As the person used the application... THE BUTTONS GOT LARGER AND LARGER! It was like watching a horror movie. There was nothing in the VBA code that should affect size.

If anyone has any clue why the buttons would grow larger I be grateful!

Thanks,
D
 
Last edited:

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
In button properties set "Don't move or size with cells"
 
Upvote 0
I designed a worksheet with a couple of ActiveX listboxes which behaved perfectly on my machine but on about half of the end users' machines they shrunk slightly every time the worksheet was opened. (The users didn't actually report this until they were so small that they became unusable!)

I ended up resizing and repositioning them in the Workbook_Open event.
 
Upvote 0
Mine were changing size every time the workbook was opened - the screen resolution wasn't changing.
 
Upvote 0

Forum statistics

Threads
1,214,625
Messages
6,120,598
Members
448,973
Latest member
ksonnia

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