Name Manager does not open

Ron512

Board Regular
Joined
Nov 17, 2002
Messages
98
In an Excel 2013 workbook when attempting to open Name Manager (Formulas > Name Manger) I receive the progress circle for a few seconds than nothing.
I have searched the forum and internet with to luck.

Anyone have ideas?

Thanks
Ron
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
I would try closing the program and opening it again...
If that doesn't do it, I would try the shortcut for opening it: Hold the Ctrl key and tap the F3 key...

If that doesn't work, I would try it in another workbook and give up on that first workbook...
But that's just me...
 
Upvote 0
If you run this, what does the message box say?
Code:
Sub NameCount()
   MsgBox ActiveWorkbook.names.Count
End Sub
 
Upvote 0
Fluff, thanks for the reply. Wow, the value I receive is 208,174.00. The file should have 23 named ranges.
 
Upvote 0
Ouch. That's a lot of names.
Try
Rich (BB code):
Sub Delnames()
   Dim Nme As Name
   For Each Nme In ActiveWorkbook.names
      Nme.Visible = True
      Select Case Nme.Name
         Case "pcode1", "Fluff"
         Case Else
         Nme.Delete
      End Select
   Next Nme
End Sub
Change the vlaues in red to match the names you want to keep
 
Last edited:
Upvote 0
I make the changes to the macro you provide to include the names to keep. I tested, it worked fine. When I executed it on the issue file it would run for about 20 minutes than excel would crash.

Any other ideas?
 
Upvote 0
Try doing it in batches
Rich (BB code):
Sub Delnames()
   Dim Nme As Name
   Dim i As Long
   For Each Nme In ActiveWorkbook.names
      i = i + 1
      Nme.Visible = True
      Select Case Nme.Name
         Case "pcode1", "Fluff"
         Case Else
         Nme.Delete
      End Select
      If i = 1000 Then Exit For
   Next Nme
   MsgBox "Batch done"
End Sub
Save & close the file after each batch. If it does the first batch quite happily you can change the value in red to a higher number if needed.
 
Last edited:
Upvote 0
The attempt to run it in batches was not successful. I tried lowering the number to as few as ten. I receive the runtime error out of memory. With the thought that it was computer memory I closed all applications and unnecessary processes as well as rebooted to clear any residual RAM with the same result. I tried on two computers and several files that have the same issue with similar negative results. Now starting to get a bit frustrated.
 
Upvote 0
In that case I think about the only option would be to re-build the workbook by copying the the info into a new workbook.
You would need to copy the cells, rather than the sheets.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,170
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top