Skip to content

Instantly share code, notes, and snippets.

@statzhero
Created December 11, 2018 20:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save statzhero/a3412c13d8e14521ef15238543fc5710 to your computer and use it in GitHub Desktop.
Save statzhero/a3412c13d8e14521ef15238543fc5710 to your computer and use it in GitHub Desktop.
Excel VBA list named ranges in sheet
Sub Test_NamedRanges()
For Each nm In ThisWorkbook.Names
If nm.RefersToRange.Parent.Name = Sheet10.Name Then MsgBox nm.Name
Next nm
End Sub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment