View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
mario mario is offline
external usenet poster
 
Posts: 26
Default VBS for excel named ranges

What will be the vba code to display all the "name" (text) of the named
ranges and its reference range it refers to.

I am trying to create some thing like this

For each rname in Activeworkbook.names.count
msgbox "name is: " & rname.name & "it refers to: " & rname.range
next

Please help.