Named ranges can be either workbook or worksheet specific.
When you add a named range called Axes it is at the workbook level.
When you add a named range NNC!Axes it is at the worksheet level.
So if you are on the MET sheet and look at the Names dialog you will see Axes in the list.
If you are on the NNC sheet and look at the Names dialog you will see Axes with NNC to the right of Axes. This denotes a worksheet level name. If you delete it the workbook level Axes entry will remain and the NNC will be removed from the right as the worksheet level name is deleted.
Quickest way to add sheet level names is with code.
Sub CreateNames()
Dim objName As Name
Dim vntItem As Variant
For Each vntItem In Array("MET", "NNC", "CSW")
For Each objName In ActiveWorkbook.Names
If InStr(objName.Name, "!") = 0 Then
ActiveWorkbook.Names.Add vntItem & "!" & objName.Name, Replace(objName.Value, "MET", vntItem)
End If
Next
Next
End Sub
Bookmarks