Define a name local to a worksheet

R

Rich Davies

I have a workbook with many sheets with identical format and similar data. I
need to have cells and ranges named, but the names need to be local to a
particular worksheet.

I've accomplished that in the past by setting up one worksheet, naming
everything to my liking, then making a copy of the worksheet. In the copy,
all the names are nicely qualified with the name of the sheet.

I've done that, and now I need to expand the worksheets. I can't find a way
to add new names and make them local to any sheet. I don't want to go through
the copy process again due to the the impact on other sheets that collect
data from all these other sheet.
 
D

Dave Peterson

When you define the name--either via the Insert|Name|define dialog or by typing
the name into the namebox (to the left of the formulabar, you can include the
sheetname.

'Sheet 99'!myNameHere
(in the Namebox, with the range selected--and make sure you hit enter)

Or
Names in workbook: 'Sheet 99'!myNameHere
Refers to: ='Sheet 99'!$A$2:$Z$99
(in the dialog)




If you have to localize (or globalize) and existing name, you'll want to use Jan
Karel Pieterse's (with Charles Williams and Matthew Henson) Name Manager:
NameManager.Zip from http://www.oaltd.co.uk/mvp

In fact, if you're working with names, you'll want this!
 
R

Rich Davies

Thanks. That works for me in the Insert|Name|Define dialog, but not in the
namebox. The dialog is much more tedious, but I guess I'll have to use what
works.

I'm using Excel 2004 on a MacBook. Maybe there's a problem since I really
don't have an enter key. Maybe it just doesn't work. Don't know.
 
D

Dave Peterson

It works ok in WinTel land. I would bet that it would work with Mac's, too (but
I don't use them).

Try it again and if it fails, explain what you did in detail.

If you don't get a good answer in this forum, I'd try:
news://msnews.microsoft.com/microsoft.public.mac.office.excel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top