Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
RC RC is offline
external usenet poster
 
Posts: 39
Default Selecting Variable Data Ranges

I am trying to write a macro to create a chart based on a large data table,
but each time I run the macro, the data table will be in the same relative
location but will be a different size. How can I write the macro to select
an entire range each time even though it will be a different size?

Thanks,
rc
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 95
Default Selecting Variable Data Ranges

This is not a macro, but it also may work in your case. You can use a name
that adjust to your data, as shown in this page:
http://www.ozgrid.com/Excel/DynamicRanges.htm
And use that name as the source for the graph.

Hope this helps,
Miguel

"rc" wrote:

I am trying to write a macro to create a chart based on a large data table,
but each time I run the macro, the data table will be in the same relative
location but will be a different size. How can I write the macro to select
an entire range each time even though it will be a different size?

Thanks,
rc

  #3   Report Post  
Posted to microsoft.public.excel.misc
RC RC is offline
external usenet poster
 
Posts: 39
Default Selecting Variable Data Ranges

I was able to record a macro to make these steps and it looks like it will
work. Thank you very much.

rc


"Miguel Zapico" wrote:

This is not a macro, but it also may work in your case. You can use a name
that adjust to your data, as shown in this page:
http://www.ozgrid.com/Excel/DynamicRanges.htm
And use that name as the source for the graph.

Hope this helps,
Miguel

"rc" wrote:

I am trying to write a macro to create a chart based on a large data table,
but each time I run the macro, the data table will be in the same relative
location but will be a different size. How can I write the macro to select
an entire range each time even though it will be a different size?

Thanks,
rc

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
selecting 2 ranges, 1 Worksheet, printing on 1 page PDF need help please Excel Discussion (Misc queries) 0 October 17th 06 09:03 PM
Trouble with selecting multiple ranges of data markag Excel Worksheet Functions 2 June 23rd 06 04:35 PM
selecting different cell ranges across sheets, to display on summary page NetMax Excel Discussion (Misc queries) 4 January 17th 06 07:42 PM
Variable ranges John Contact Excel Worksheet Functions 1 June 17th 05 08:02 AM
Sum Variable Ranges Erika Excel Worksheet Functions 6 December 23rd 04 03:52 PM


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