PC Review


Reply
Thread Tools Rate Thread

Add to Chart

 
 
=?Utf-8?B?RGF2aWQ=?=
Guest
Posts: n/a
 
      9th Jul 2007
Hello

I have a number of sets of data that create simple line charts.
I would like the user to be able to select a custom set to add extra lines
to a chart.
I just dont know how I can capture the data source from the chart so that I
can add extra lines to it.

eg
Private Sub ButtonX_Click

Dim ChartSource As String
ChartSource = Chart1.?datasource?

ChartSource = ChartSource + "F4:F15"

End Sub

Does this make sense?

David
 
Reply With Quote
 
 
 
 
=?Utf-8?B?VG9tIE9naWx2eQ==?=
Guest
Posts: n/a
 
      9th Jul 2007
Some information here:

http://www.j-walk.com/ss/excel/tips/tip83.htm

--
Regards,
Tom Ogilvy


"David" wrote:

> Hello
>
> I have a number of sets of data that create simple line charts.
> I would like the user to be able to select a custom set to add extra lines
> to a chart.
> I just dont know how I can capture the data source from the chart so that I
> can add extra lines to it.
>
> eg
> Private Sub ButtonX_Click
>
> Dim ChartSource As String
> ChartSource = Chart1.?datasource?
>
> ChartSource = ChartSource + "F4:F15"
>
> End Sub
>
> Does this make sense?
>
> David

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2003 is missing Built-In Custom Chart Types in Chart Wizard Julius Microsoft Excel Programming 2 6th Mar 2009 04:55 PM
Excel 2003 is missing Built-In Custom Chart Types in Chart Wizard Julius Microsoft Excel Setup 1 6th Mar 2009 01:57 AM
Excel 2003 is missing Built-In Custom Chart Types in Chart Wizard Julius Microsoft Excel Programming 0 6th Mar 2009 01:21 AM
Cannot Activate Chart Area in Chart. Chart Object Failed ahperez@gmail.com Microsoft Excel Programming 2 8th Aug 2006 02:38 AM
pasting chart shows chart area, not the chart =?Utf-8?B?UGlyam8=?= Microsoft Powerpoint 3 13th Oct 2005 04:31 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:32 PM.