I'm having a problem with Dynamic range for a named list. I define a dynamic
range for a list that is referenced on a seperate worksheet as follow:
Refers to:
=OFFSET(Lists!$A$5,0,0,COUNTA(Lists!$A$4:$A$18),1)
The cell reference in the 'COUNTA' formula is because I have header rows in
the lists worksheet. A second 'Status' worksheet uses these lists in
validation to create dropdown lists.
When I copy both of the worksheets to another file, the list definition in
the 'Status' worksheet is automatically being updated to continue to point to
the original source file:
Refers to:
=OFFSET('[template.xls]Lists'!$A$5,0,0,COUNTA('[template.xls]Lists'!$A$4:$A$18),1)
The 'Lists' worksheet seems to have the original definition but is now
'local' (In the Define Name dialog, the worksheet name is visible to the
right of the list name.)
Now if the original file is closed, the lists stop working. What's going on
and how to I prevent Excel from automatically updating the list definition???
Thanks for any help,
John S.
T. Valko - 28 Feb 2007 03:37 GMT
The source file *must* be open for it to work.
Solution: don't use another file as the source! Keep the source in the same
file.
If you must, then create an area that links to the other file:
='C:\TV\[test.xls]Sheet1'!$A1
='C:\TV\[test.xls]Sheet1'!$A2
='C:\TV\[test.xls]Sheet1'!$A3
etc
Then use that range as the source.
Biff
> I'm having a problem with Dynamic range for a named list. I define a
> dynamic
[quoted text clipped - 27 lines]
> Thanks for any help,
> John S.
DocBrown - 28 Feb 2007 20:00 GMT
The point is I'm TRYING to keep the source in the same file. The intention is
to copy the 'Lists' worksheet and 'Status' worksheet to a new workbook and
have the 'Status' worksheet reference the lists in the SAME NEW workbook.
But when I copy the worksheets to a new workbook, Excel insists on updating
the formula to point to to the original file which is what I DON'T want. I
can't figure out how to keep Excel from automatically updating the formula.
John S.
> The source file *must* be open for it to work.
>
[quoted text clipped - 43 lines]
> > Thanks for any help,
> > John S.
T. Valko - 28 Feb 2007 22:57 GMT
I see. Well, I don't know how to stop Excel from doing that.
Biff
> The point is I'm TRYING to keep the source in the same file. The intention
> is
[quoted text clipped - 62 lines]
>> > Thanks for any help,
>> > John S.