Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default defining range is my plot problem

I have a sheet that contain x values pre-determined. My y values are
calculated from another sheets. I that sheet do not have data, then my y
value is in blank. I want to made a plot with the available data. My code
check which are the last row that contain data. I want to plot my data points
from cells(3,1) to cells(lastrow,1). How can I define the
seriecollection.xvalues in this case?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,582
Default defining range is my plot problem

What kind of chart? Would all the missing values be at the end, or
interspersed?

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


"anamarie30" wrote in message
...
I have a sheet that contain x values pre-determined. My y values are
calculated from another sheets. I that sheet do not have data, then my y
value is in blank. I want to made a plot with the available data. My code
check which are the last row that contain data. I want to plot my data
points
from cells(3,1) to cells(lastrow,1). How can I define the
seriecollection.xvalues in this case?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default defining range is my plot problem

The Chart Type is xlLineMarkers. My x axis is period of time and my y axis is
the data obtained in the period. Depend of the test, the period of time o the
test can be change. For that reason, all the missing values will be at the
end because depend on the test long.

"Jon Peltier" wrote:

What kind of chart? Would all the missing values be at the end, or
interspersed?

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


"anamarie30" wrote in message
...
I have a sheet that contain x values pre-determined. My y values are
calculated from another sheets. I that sheet do not have data, then my y
value is in blank. I want to made a plot with the available data. My code
check which are the last row that contain data. I want to plot my data
points
from cells(3,1) to cells(lastrow,1). How can I define the
seriecollection.xvalues in this case?




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,582
Default defining range is my plot problem

This example should show you how to solve the problem:

http://peltiertech.com/Excel/Charts/...umnChart1.html

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


"anamarie30" wrote in message
...
The Chart Type is xlLineMarkers. My x axis is period of time and my y axis
is
the data obtained in the period. Depend of the test, the period of time o
the
test can be change. For that reason, all the missing values will be at the
end because depend on the test long.

"Jon Peltier" wrote:

What kind of chart? Would all the missing values be at the end, or
interspersed?

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


"anamarie30" wrote in message
...
I have a sheet that contain x values pre-determined. My y values are
calculated from another sheets. I that sheet do not have data, then my
y
value is in blank. I want to made a plot with the available data. My
code
check which are the last row that contain data. I want to plot my data
points
from cells(3,1) to cells(lastrow,1). How can I define the
seriecollection.xvalues in this case?






Reply
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
Defining series range for named range Barb Reinhardt Excel Programming 1 August 3rd 06 09:00 PM
Defining a range Jonathan Excel Programming 3 June 28th 06 06:11 AM
Syntax problem defining range for pivot table Richard Excel Programming 0 March 14th 06 06:52 PM
Defining range Edgar[_3_] Excel Programming 2 February 17th 04 02:24 PM
Defining a range Matt Excel Programming 3 January 23rd 04 03:21 PM


All times are GMT +1. The time now is 08:16 PM.

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

About Us

"It's about Microsoft Excel"