A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Hi, Antonio Nunez1
Thank you for using Microsoft products and posting them to the community.
You can try this VBA code (I have tested it and it works fine): (But IMHO, your number is too large, and you may experience lag or crash when using this code)
Sub DeleteAllNames()
Dim n As Name
On Error Resume Next
For Each n In ActiveWorkbook.Names
n.Delete
Next n
On Error GoTo 0
MsgBox "All named ranges have been deleted."
End Sub
I hope the above information can help you. Feel free to send a message if you need further help.
Best wishes
Aiden.C - MSFT |Microsoft Community Support Specialist