Forum home » Delegate support and help forum » Microsoft Excel VBA Training and help » Graphs and sliders
Graphs and sliders
Resolved · High Priority · Version 2003
Graphs and sliders
I would like to plot a line graph and have a corresponding slider which, when moved, moved a corresponding point along the line graph.For upcoming training course dates see: Pricing & availability
RE: graphs and sliders
Hi Christine, thanks for your query. You need two things to achieve this. First of all you need to add the slider control into your toolbox. If you right click on the toolbox it will give you the Windows/System folder into which you should save the slider.ocx file (variations of which you can download from the net). Secondly, you need to code a link between the slider control and the point you want to move on your chart. Code-wise this simply involves making sure when the slider is moved to the left, the position of, say, an arrow on your chart moves to the left as well which is done my manipulating the position properties of the arrow. It's quite an involved thing to do but once in place the effect can be quite impressive!Hope this helps,
Anthony
Mon 25 Jan 2010: Automatically marked as resolved.
|
|
» Forum post: Clip arts |



Course updates

