K
ken smith
XL2000 on NT4 - I want to refer to named ranges on another
workbook. Those names are dynamic. If the source wkbk is
closed when the other is opened, I get an error saying the
names do not refer to rectangular ranges. The dynamic
names are in either of 2 forms:
=OFFSET(Lists!$D$2,0,0,COUNTA(Lists!$D:$D)-1,1)
=INDEX(Lists!$D:$D,2):INDEX(Lists!$D:$D,COUNTA(Lists!
$D:$D))
1) Is this possible?
2) One of the reasons for the ranges is to populate lists
for data validation dropdowns. As this can't be done from
another wkbk, I have array-entered the range name
({=OtherWkbk!MYRANGE}) in more cells than the list will
ever have. Those cells beyond the length of the source
range return #N/A. For example if the range has 3 values
and I array-enter it in 6 rows I get (notwithstanding the
linking problem described above):
Value1
Value2
Value3
#N/A
#N/A
#N/A
I would like to name a range for the dropdowns that
contains all values up to and including the last one that
is not #N/A. Any ideas? Or perhaps a better way?
TIA,
Ken
workbook. Those names are dynamic. If the source wkbk is
closed when the other is opened, I get an error saying the
names do not refer to rectangular ranges. The dynamic
names are in either of 2 forms:
=OFFSET(Lists!$D$2,0,0,COUNTA(Lists!$D:$D)-1,1)
=INDEX(Lists!$D:$D,2):INDEX(Lists!$D:$D,COUNTA(Lists!
$D:$D))
1) Is this possible?
2) One of the reasons for the ranges is to populate lists
for data validation dropdowns. As this can't be done from
another wkbk, I have array-entered the range name
({=OtherWkbk!MYRANGE}) in more cells than the list will
ever have. Those cells beyond the length of the source
range return #N/A. For example if the range has 3 values
and I array-enter it in 6 rows I get (notwithstanding the
linking problem described above):
Value1
Value2
Value3
#N/A
#N/A
#N/A
I would like to name a range for the dropdowns that
contains all values up to and including the last one that
is not #N/A. Any ideas? Or perhaps a better way?
TIA,
Ken