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?
 

Some videos you may like

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.

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
23,770

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?
 

Subscribe on YouTube

Watch MrExcel Video

Forum statistics

Threads
1,106,820
Messages
5,513,586
Members
408,960
Latest member
dichthuatco

This Week's Hot Topics

  • Sort code advice please
    Hi, I have the code below which im trying to edit but getting a little stuck. This was the original code which worked fine,columns A-F would sort...
  • SUMPRODUCT with nested If statement
    Hi everyone, Hope you're all well. I'm hoping someone will be able to point me in the right direction with a problem I'm having with a SUMPRODUCT...
  • VBA - simple sort is killing me!
    Hello all! This should be so easy, but not for me, apparently! I have a table of data that can be of varying lengths and widths. My current macro...
  • Compare Two Lists
    I have two Lists and I need to be able to Identify differences between them. List 100 comes from a workbook - the other is downloaded form the...
  • Formula that deducts points for each code I input.
    I am trying to create a formula that will have each student in my class start at 100 points and then for each code that I enter (PP for Poor...
  • Conditional formatting formula required for day of week and a value
    Hi, I have a really simple spreadsheet where column A is the date, column B is the activity total shown as a number and column C states the day of...
Top