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: 8
Default Dynamic range in graphing macro

I'm trying to write a macro which will create a line graph and have included
the following line:

ActiveChart.SetSourceData
Source:=Sheets("Data").Range("DynDates,DynBrandVol ,DynCatVol"), _
PlotBy:=xlColumns

where DynDates, DynBrandVol and DynCatVol are dynamic ranges defined using
the offset function. This throws up an error message, and I seem to remember
seeing something about not being able to use dynamic ranges in this way. Am
I right - and what's the way round it?

Thanks for any help.

Colin Macleod


 
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
Dynamic Range Name Macro Jonathan Cooper Excel Discussion (Misc queries) 3 March 24th 08 09:04 PM
dynamic graphing bradyarz Excel Discussion (Misc queries) 2 June 16th 07 03:40 PM
Dynamic range for autofill macro Jim G Excel Discussion (Misc queries) 2 April 23rd 07 05:46 AM
How do I create a dynamic range in a macro Mark2122 Excel Worksheet Functions 2 February 2nd 07 09:44 PM
Graphing a dynamic range that automatically picks up the most recent entry. gimiv Excel Worksheet Functions 2 July 10th 06 07:58 PM


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