LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
KMH KMH is offline
external usenet poster
 
Posts: 31
Default Setting Source Data for Chart Ranges in VB

I want to create a simple XY chart in VB, but I need to have control over
where the data to be charted comes from. Given I want to Chart the range
from Cells(StartRow,StartCol) to Cells(EndRow, EndCol). I can select the
right range to chart, but when it goes to chart it, it creates the chart as 2
series rather than the X and Y for a single series. I follow the recorded
macro format just replacing where the range is inputted with my settings, but
no matter how I set it up, it doesn't seem to work. Ideally, I could set
Xvalues and YValues separately so they don't have to be in columns next to
each other, but I can work around that if need be.

How do I do the SetSourceData Source:=??
Thanks.
 
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
One Chart, Same Data ranges, different source sheets Greg in CO[_2_] Charts and Charting in Excel 4 March 12th 10 02:57 PM
Multi Area data ranges as Chart source GS80 Charts and Charting in Excel 2 January 30th 08 09:54 AM
Setting the category Label source for a Pie chart Seshadrinathan Excel Programming 1 September 15th 06 08:35 PM
setting source data Nigel Excel Programming 0 November 15th 05 06:51 AM
Setting Source Range For Chart James Stephens Excel Programming 4 March 4th 04 11:01 PM


All times are GMT +1. The time now is 12:18 PM.

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"