LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Making charts

Hi! I am desperatley trying to make a chart. However I do need the code to be
variable so I cannot refer directly to cell address. I cannot understand what
is wrong with my code, I want to make a range for the chart that is 'split
up' but I cannot seem to manage. Can someone perhaps see what is wrong with
this code:

Worksheets("Indata").Range(rng1.Address, rng1.Offset(i, j).Address).Select
Charts.Add
ActiveChart.ChartType = xlColumnClustered
ActiveChart.SetSourceData
Source:=Sheets("Indata").Range("rng1.Address:rng1. Offset(1, 0).Address,
rng2.Address:rng2.Offset(3,0).Address"), PlotBy:=xlColumns
ActiveChart.SeriesCollection(1).XValues =
Sheets("Indata").Range(rng.Offset(0, 1).Address, rng.Offset(0, i).Address)

Please please any help is very much appreciated! I cannot beat this problem
on my own!
 
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
making charts kyle Excel Discussion (Misc queries) 6 December 13th 09 07:05 AM
Making charts equivalent jimbo Charts and Charting in Excel 3 March 7th 07 02:48 AM
making charts with vb 6.3 april27 Excel Programming 1 June 16th 06 02:44 PM
Making charts from log files Frederik Vanderhaeghe Charts and Charting in Excel 3 April 28th 06 06:16 PM
Making charts from arrays in VBA Ali Baba Charts and Charting in Excel 3 August 30th 05 04:49 PM


All times are GMT +1. The time now is 10:59 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"