Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a weird situation. I have a workbook that has 6 drop down boxes within one of the sheets. Everytime I copy the sheet within the same workbook I get a box that pops up that says:

A formula or sheet you want to move or copy contains the name "drop down name here", which already exists on the destination worksheet. Do you want to use this version of the name?

Then I just choose Yes, but I have to click Yes 6 times because that is how many drop downs I have. Is there any way around this?

share|improve this question
add comment

1 Answer 1

up vote 1 down vote accepted

I found this reguarding worksheets...

It should still apply to your dropdown problem though.

Try "localising" your names to worksheets that are going to be copied. So, if you have a worksheet called "Sheet1" and a name MyName that refers to range Sheet1!$A$1 then delete MyName and then redefine it as Sheet1!MyName refers to Sheet1!$A$1

Note the "Sheet1!" prefix to the definition of the Name.

You may still run into problems if you use data validation that refers to drop-down lists where the name of the list is localised to a different worksheet, or conditional formatting where the "Fomula Is" refers to a named range that is localised to another sheet.

Probably good practice to avoid duplicating global (not tied to sheet) names and local names. It can cause confusion over which name is being called.

Jan Karel Pieterse's "Name Manager" is a useful add-in tool for clearing out names that contain errors, identifying duplicate global/local names, localising names that you have already defined as global and do not want to go to the trouble of deleting first, and a whole host of other goodies

share|improve this answer
    
Thanks for the help. I think that's beyond my knowledge of what's going on here. I'll try to comprehend what you're telling me and apply it to what I have going on. –  Mike Sep 7 '11 at 19:48
    
Excellent. If you still don't get it, just let me know, and I'll see what I can do... –  wizlog Sep 7 '11 at 19:54
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.