Errors with 'Named Ranges'

ilcaa

Well-known Member
Joined
May 25, 2005
Messages
751
Office Version
  1. 365
Platform
  1. Windows
i deleted alot of queries and tables in my workbook, removed any data model tables as well, saved my workbook several times. (see screenshot below)

if I go to Name Manager there are no names listed. all deleted. If i use the name drop-down menu. Old names appear that are NOT in my workbook. The workbook is a XLSM. if i go to VB editor, i can see the old workbook names, if i try to save as standard XLS i get error. again, this workbook has been saved multiple times already as XLSM.

here is a screenshot. is there a way to get rid of drop-down name references? how can i delete the VB workbooks listed to match Excel sheets?

thanks for any help troubleshooting this.

1671467027860.png
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Those are probably names of tables on the hidden sheets. Unhide the sheets & you can then delete the sheets.
 
Upvote 0
Solution
Those are probably names of tables on the hidden sheets. Unhide the sheets & you can then delete the sheets.

thanks, your right, i did have hidden sheets i did not think about...
 
Upvote 0
You might have some hidden names that use the old Excel4 functions.
Try running this & then look in the name manager.
VBA Code:
Sub CleanNames()
   Dim Nm As Name
   For Each Nm In ActiveWorkbook.Names
      Nm.Visible = True
   Next Nm
End Sub
 
Upvote 0

Forum statistics

Threads
1,214,817
Messages
6,121,717
Members
449,050
Latest member
MiguekHeka

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