Forum Discussion
Solving Name conflict in excel
How do you solve name conflict in excel worksheet when copying worksheets?
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.
- JKPieterseSilver Contributor
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.
- stanohCopper ContributorThanks i did get the results as shown, unfortunately i wasn't able to move the worksheet to the new workbook. Unfortunately no other excel operation can go on unless i close excel using the task manager and stop all excel tasks running, a solution would be welcome.
- JKPieterseSilver 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.