scroll bar properies in activechart sheet

Gibbo

New Member
Joined
Jun 30, 2009
Messages
5
I want to use a scroll bar in an activechart sheet.

Inserting one using Command Bar => Forms => Scroll Bar

Resulting in an "Activechart.shapes(Scroll Bar 1")" which does not allow control of the Max / Min propertiues and I am unable to read the slider value.

Any Ideas??
 
Last edited:

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
Try using Activechart.Scrollbars("Scroll Bar 1") instead.
 
Upvote 0
Hi Rory,

The problem is that a Shape is created and not an object that I can set the required properties
 
Upvote 0
The code is not the problem (spelling mistake accepted) it is the fact that I want to be able to set / control the properties of the scroll bar. Under the Command Bar => Forms method it is created as a shape called "Scrol Bar 1" and not a scroll bar object
 
Upvote 0
I repeat: Did you actually try it?
Scrollbars added from the Forms toolbar are members of the Scrollbars collection.
 
Upvote 0
Incidentally, you can also use the ControlFormat property of the shape - e.g.:
Code:
Activechart.shapes("Scroll Bar 1").ControlFormat.min = 25
but I find the Scrollbars collection easier.
 
Upvote 0

Forum statistics

Threads
1,214,819
Messages
6,121,729
Members
449,049
Latest member
MiguekHeka

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