Scrollbar control has bugs?

Arcady

New Member
Joined
Oct 30, 2009
Messages
42
So I added a scrollbar to my spreadsheet. I find that when I turn off 'construction mode' and click the scroll bar one of two things will happen.

The first is that the buttons will shrink. Each time I click it the buttons get a bit smaller. The width of the bar does not change, but eventually the buttons are tiny slivers that can't even be seen.

The second is that the entire scrollbar will get bigger. Each time I click it the scroll bar gets just a bit bigger.

Only one of these things will happen to the scrollbar and when it happens once, it happens each and every time I click it there-after. I can delete the bar and put a new one in which will then allow it to pick a different event.

Does anyone know what this is about? Is there any way to fix this, or should I give up completely on adddng scrollbars to my spreadsheet?
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).

Arcady

New Member
Joined
Oct 30, 2009
Messages
42
I have found that this is caused by changing desktop resolution while the workbook is open. I do not yet know how to fix it other than deleting any scrollbars and putting them back in.
 

BrianB

Well-known Member
Joined
Feb 17, 2003
Messages
8,127
Have you tried changing Format\Properties to "Don't move & size with cells" ?
 

Arcady

New Member
Joined
Oct 30, 2009
Messages
42
Yeah, it's set for 'Don't move or size'.

I should mention that it does not change size when the desktop res is changed. What happens is after changing the desktop res and then clicking the scrollbar it just grows, or the buttons shrink. Believe me when I say that what I see happening is not anything it should be doing. Thanks for the note but I just wanted to be sure I was clear in describing what was happening.

By the way, this is XL 2003 in XP.
 

mikerickson

MrExcel MVP
Joined
Jan 15, 2007
Messages
24,205

ADVERTISEMENT

Is this an ActiveX scrollbar or from the Forms menu?
 

Arcady

New Member
Joined
Oct 30, 2009
Messages
42
To be even more precise, it happens when the scrollbar gets focus. So clicking it over and over again does nothing (save for the first time). When I give something else focus and comes back, it repeats.

What I may do is write a little macro to give it's size back, but that won't fix the shrinking buttons.
 

Arcady

New Member
Joined
Oct 30, 2009
Messages
42

ADVERTISEMENT

Is this an ActiveX scrollbar or from the Forms menu?

It came directly from the 'Control Toolbox'. That's the best answer I can give to that one.

Forms I suppose since "=EMBED("Forms.ScrollBar.1","")'
 

Arcady

New Member
Joined
Oct 30, 2009
Messages
42
That's an ActiveX control.

Have you tried one from the Forms menu?


This scrollbar appears to work just fine, thanks for the tip. I'm curious though, how do I access its properties from VB? Can I make all the same calls?
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,613
Messages
5,832,710
Members
430,155
Latest member
spacedad41

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
Top