Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Line Chart Macro


I want to write a macro that will make a line chart out of the trends w
pull from our SCADA system at work. I want this macro to be able t
work on any trend I pull. In another words, I want it to be able t
chart 1, 2, 3, or any amount of columns past column C with varyin
amount of rows. The rows will depend on the amount of data points in m
trend.

C1 is a blank cell and the rest of the C column will be time and dat
of the data points in the other columns to the right. Data in column
will be the x category axis in all of the charts.

I tried to record a macro with the recorder to see what the code woul
look like. The problem with this is that the finished macro will onl
work with the file I used to record it with. It defines the absoulut
range of the data in the file.

How can I change this range reference to pick all of the data and row
right and below cell C1? Regardless of the amount of data that is i
the file. Of course I do not want it to define a range over empt
cells.

Are there any programers out there that want to give me a clue

-----------------------------------------------
~~ Message posted from http://www.ExcelTip.com
~~View and post usenet messages directly from http://www.ExcelForum.com

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
Excel 2007 Line Chart - Chart line to go directly to next value TyreDude Charts and Charting in Excel 3 October 12th 11 12:52 PM
Macro to change position of chart labels on line chart Shane Henderson[_2_] Charts and Charting in Excel 1 May 27th 11 09:31 AM
How do I convert a line chart to a vertical line chart in Excel Gerty Charts and Charting in Excel 1 August 20th 09 04:28 PM
Macro commands to assign colors to each line in an Excel chart. JohnnyC Charts and Charting in Excel 3 July 6th 09 11:46 AM
macro for fixed color lines in line chart based on series name sm Charts and Charting in Excel 1 November 13th 06 09:31 AM


All times are GMT +1. The time now is 04:22 AM.

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"