K
keithb
How can I name a range that exists in a different workbook?
Thanks,
Keith
Thanks,
Keith
Dave Peterson said:I'd open both workbooks.
Activate the workbook that's gonna get the name.
Then
Insert|Name|Define
Type in your name in the "Names in workbook" box
click in the "refers to" box (I'd erase what's there)
click on Window, then point at the other workbook.
go to the worksheet you want to use
select that range
I see something like:
=[book1.xls]Sheet3!$B$9:$B$19
in that "refers to" box.
How can I name a range that exists in a different workbook?
Thanks,
Keith
Thanks for answering. Actually, I need to do this with VBA code rather than
from the user interface. Any idea how to do that?
Thanks,
Keith
Dave Peterson said:I'd open both workbooks.
Activate the workbook that's gonna get the name.
Then
Insert|Name|Define
Type in your name in the "Names in workbook" box
click in the "refers to" box (I'd erase what's there)
click on Window, then point at the other workbook.
go to the worksheet you want to use
select that range
I see something like:
=[book1.xls]Sheet3!$B$9:$B$19
in that "refers to" box.
How can I name a range that exists in a different workbook?
Thanks,
Keith