Sub ListAllNames()
Dim i As Long
On Error Resume Next
Application.DisplayAlerts = False
Sheets("Names List").Delete
Application.DisplayAlerts = True
On Error GoTo 0
Sheets.Add.Name = "Names List"
For i = 1 To ActiveWorkbook.Names.Count
Cells(i, 1).Value = ActiveWorkbook.Names(i).Name
Cells(i, 2).Value = ActiveWorkbook.Names(i)
Next
Columns("A:B").AutoFit
End Sub
You might also want to download Jan Karel Pieterse's Name Manager addin
which will not only handles your list requirement, but almost anything else
that you might wish to do with Excel names:
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.