Christine has attended:
Excel VBA Intro Intermediate course
Excel VBA Advanced course
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.
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