LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to scroll data in a chart?


This worked nicely for me.

Private Sub SpinButton1_Change()

SpinButton1.Max = 9000
SpinButton1.Min = 0
SpinButton1.SmallChange = 1000

rng = "A" & 1 + SpinButton1.Value & ":B" & 1000
SpinButton1.Value
Sheet1.ChartObjects(1).Select
ActiveChart.SetSourceData Source:=Sheets("Sheet3").Range(rng)
Range("A1").Select

End Sub


Your range is A1:B10000
I plotted the chart in sheet1 itself. And I used the spinbutton fro
the control toolbox menu

Manges

--
mangesh_yada
-----------------------------------------------------------------------
mangesh_yadav's Profile: http://www.excelforum.com/member.php...fo&userid=1047
View this thread: http://www.excelforum.com/showthread.php?threadid=38153

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
scroll/zoom xy chart [email protected] Charts and Charting in Excel 4 January 2nd 08 08:36 PM
SCROLL BAR FOR A 52 WEEK CHART Karine Charts and Charting in Excel 11 November 22nd 07 03:58 PM
how do i add a scroll bar to a line chart? jackrobyn1 Charts and Charting in Excel 3 May 26th 07 05:53 PM
dynamic chart with scroll bar tiw Excel Discussion (Misc queries) 0 April 21st 05 03:43 PM
scroll bar on chart disappears Bob Charts and Charting in Excel 3 April 17th 05 11:30 PM


All times are GMT +1. The time now is 09:41 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"