how to get the names that defined in excel?

D

Debra Dalgleish

In Excel, you could turn on the macro recorder, and manually create the
list of names, as Dave described.

Then, you may be able to incorporate that code in your other project.
 
M

Michael Bednarek

can i get the names defined in excel?

Sub ListAllNames()

Dim namName As Name

For Each namName In Application.Names
Debug.Print "Name: " & namName.Name & ", RefersTo: " & namName.RefersTo
Next namName

End Sub
 
Top