LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Finding All Range Names on a given sheet

I am trying to find all range names that exist on a given sheet in m
workbook. I do not need to know the names for all of the sheets. Her
is the code I used, but it only displayed 1 of the names on that sheet
when in fact there are about 5. Can anyone help?

Sub testbsrange()
Dim oname As Object
For Each oname In Worksheets("Blank_Sheet1").Names
MsgBox oname.Name & oname.RefersToR1C1

Next oname
End Su

--
Message posted from http://www.ExcelForum.com

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Named Range: Same Names, Multiple Workbooks with Same Sheet Name BEEJAY Excel Discussion (Misc queries) 4 November 7th 08 03:19 PM
Range names are displaying in big blue letters on sheet Katie Excel Discussion (Misc queries) 4 November 1st 05 10:43 PM
Putting Sheet Names in a range and renaming it? Steve Excel Worksheet Functions 1 June 1st 05 01:57 AM
Range Names From one sheet to Another Neil Excel Programming 3 February 19th 04 11:01 AM
Range Names associated with Sheet Name Chris Gorham[_3_] Excel Programming 2 January 17th 04 02:44 PM


All times are GMT +1. The time now is 07:42 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"