Forum Discussion
Solving Name conflict in excel
- Feb 18, 2020
Depends on their use I guess. Whether or not you want to keep the name definition of your target workbook when pasting there will also depend on the structure of both source and target. This is one of the drawbacks of copying formulas from one workbook to another where both workbooks contain range names. It can be quite a challenge to figure out which range names should be kept. My Name Manager available for free through https://jkp-ads.com/officemarketplacenm-en.asp shows all range names in a file, including the hidden ones.
stanoh I suspect that you have copied a series of cells from workbook 1, worksheet A to workbook 2 worksheet B where both workbooks contain the same range name. When that happens, prior to the dialog you showed you get a dialog like the attached one on which you appear to have clicked "No".
That means that you want to KEEP the now duplicated range name, therefore Excel prompts for a new name as two global range names cannot be the same.
- JKPieterseFeb 18, 2020Silver ContributorYou could simply click the Yes to All button I showed above. You can get back to that dialog by cancelling the one you displayed in your first message.
- stanohFeb 18, 2020Copper ContributorTried that and didn't work had to repeat the whole stuff again by ending excel application. it only works when i move to a blank/new book not to the second workbook...thanks anyways
- JKPieterseFeb 18, 2020Silver ContributorI would advise you to check Name Manager (from the Formula tab of the ribbon) for both files. See if all range names are expected to be in that file or not.