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

Hi , I am using the example DV0021 - Update Multiple Validation Lists from
page http://www.contextures.com/excelfiles.html , could you please explain
me how the range is re-sized when some item is added ?

Thank you in advance.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 130
Default Validation List

Hi Angeles,

The list is resized using the COUNT and OFFSET functions. For example, the
name "FruitList" contains the function:

=OFFSET(Lists!$A$1,0,0,COUNTA(Lists!$A:$A),1)

OFFSET has the form (Reference, Offset # of Rows, Offset # of Columns,
Height, Width) where Height and Width are optional. In the function above,
the start Reference is Lists!$A$1 and the number of rows in height is found
by counting the number of cells in range $A:$A that contain values (5 in this
case).

Thus, if additional values are entered in Lists!$A:$A, then the FruitList
will grow. The use of Dynamic Named Ranges becomes very helpful when dealing
with databases of unknown size.

If this is unclear, let me know.

Matthew Pfluger

"Angeles" wrote:

Hi , I am using the example DV0021 - Update Multiple Validation Lists from
page http://www.contextures.com/excelfiles.html , could you please explain
me how the range is re-sized when some item is added ?

Thank you in advance.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 33
Default Validation List

The explanation is very clear , thank you very much.

Angeles

"Angeles" wrote:

Hi , I am using the example DV0021 - Update Multiple Validation Lists from
page http://www.contextures.com/excelfiles.html , could you please explain
me how the range is re-sized when some item is added ?

Thank you in advance.

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
data validation invalid in dynamic validation list ilia Excel Worksheet Functions 0 November 7th 06 12:54 PM
data validation invalid in dynamic validation list ilia Excel Programming 0 November 7th 06 12:54 PM
Validation (Drop down list vs simple text length validation) Bob Phillips[_6_] Excel Programming 2 April 27th 04 07:47 PM
Validation (Drop down list vs simple text length validation) Jason Morin[_2_] Excel Programming 1 April 27th 04 04:56 PM
Validation (Drop down list vs simple text length validation) Pete McCosh Excel Programming 0 April 27th 04 03:49 PM


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