#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 65
Default Range Question

If I have a named range for instance $A$11 : $C$14 = Range("TEST")

and I want to add any more values to this range how can i make it so that the
user can add more values which are outside this range and have the range
automatically change to capture the newer values as well in the same named
range("TEST")



  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Range Question

You can set up a dynamic named range which automatically adjusts if
you add more values to it - Chip Pearson explains how he

http://www.cpearson.com/excel/excelF.htm#DynamicRanges

and Debra Dalgleish also explains this he

http://www.contextures.com/xlNames01.html#Dynamic

Hope this helps.

Pete

On Jul 27, 11:48 pm, N.F wrote:
If I have a named range for instance $A$11 : $C$14 = Range("TEST")

and I want to add any more values to this range how can i make it so that the
user can add more values which are outside this range and have the range
automatically change to capture the newer values as well in the same named
range("TEST")



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default Range Question

One can't "add" to a name's referenced range. Instead you just assign a
new (expanded) range to the name.

How do you propose XL should know what range the user wants to include?

In article ,
N.F wrote:

If I have a named range for instance $A$11 : $C$14 = Range("TEST")

and I want to add any more values to this range how can i make it so that the
user can add more values which are outside this range and have the range
automatically change to capture the newer values as well in the same named
range("TEST")

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 65
Default Range Question

Thanks Pete thats exactly what I needed.

JE McG.... it seems there is a way JEMcG one can use the Offset command or
even make a macro to expand the range if there is a value in the cell.

"Pete_UK" wrote:

You can set up a dynamic named range which automatically adjusts if
you add more values to it - Chip Pearson explains how he

http://www.cpearson.com/excel/excelF.htm#DynamicRanges

and Debra Dalgleish also explains this he

http://www.contextures.com/xlNames01.html#Dynamic

Hope this helps.

Pete

On Jul 27, 11:48 pm, N.F wrote:
If I have a named range for instance $A$11 : $C$14 = Range("TEST")

and I want to add any more values to this range how can i make it so that the
user can add more values which are outside this range and have the range
automatically change to capture the newer values as well in the same named
range("TEST")




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Range Question

Glad to be of help - thanks for feeding back.

Pete

On Jul 28, 12:24 am, N.F wrote:
Thanks Pete thats exactly what I needed.

JE McG.... it seems there is a way JEMcG one can use the Offset command or
even make a macro to expand the range if there is a value in the cell.



"Pete_UK" wrote:
You can set up a dynamic named range which automatically adjusts if
you add more values to it - Chip Pearson explains how he


http://www.cpearson.com/excel/excelF.htm#DynamicRanges


and Debra Dalgleish also explains this he


http://www.contextures.com/xlNames01.html#Dynamic


Hope this helps.


Pete


On Jul 27, 11:48 pm, N.F wrote:
If I have a named range for instance $A$11 : $C$14 = Range("TEST")


and I want to add any more values to this range how can i make it so that the
user can add more values which are outside this range and have the range
automatically change to capture the newer values as well in the same named
range("TEST")- Hide quoted text -


- Show quoted text -





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default Range Question

Yup. I was focused on your problem statement, rather than on what you
likely were looking for.

A calculated, or dynamic, range which uses a *formula* as the definition
of the range can certainly automatically adjust, and, rereading your
original post, it's obvious that's the most likely explanation of what
you were looking for, and I'm not sure why I missed it.

OTOH, you if you actually assign a name to a range, the way you
indicated in your original post, one cannot add to it, one can only
reassign the reference to the name.

Note, a macro can't expand the range. It can only reassign the reference.

In article ,
N.F wrote:

JE McG.... it seems there is a way JEMcG one can use the Offset command or
even make a macro to expand the range if there is a value in the cell.

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
Countif range question Judoguy Excel Discussion (Misc queries) 1 April 5th 07 09:38 AM
Named range question Shane Henderson Excel Discussion (Misc queries) 2 April 7th 06 03:38 AM
Range question in '97 Adam Kroger Excel Discussion (Misc queries) 10 December 12th 05 03:44 AM
Question for use of offset and range Demi Excel Worksheet Functions 3 July 22nd 05 08:48 PM
Question on LABEL Range Sarah Tanembaum Excel Discussion (Misc queries) 2 December 15th 04 11:49 PM


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