Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,355
Default Displaying all Named Ranges in workbook

Programmatically, how do I get all of the named ranges in the workbook to be
displayed on my Sheet1. I have named ranges that are workbook specific and
worksheet specific. I'd like to know the sheet that they are specific to if
they are present.

Thanks,
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,124
Default Displaying all Named Ranges in workbook

Sub listnames()
Application.Calculation = xlManual
For Each n In ThisWorkbook.Names
lr = Cells(Rows.Count, "a").End(xlUp).Row + 1
Cells(lr, 1) = n.Name
Cells(lr, 2) = n
Next
Application.Calculation = xlAutomatic
End Sub


--
Don Guillett
SalesAid Software

"Barb Reinhardt" wrote in message
...
Programmatically, how do I get all of the named ranges in the workbook to
be
displayed on my Sheet1. I have named ranges that are workbook specific
and
worksheet specific. I'd like to know the sheet that they are specific to
if
they are present.

Thanks,



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,355
Default Displaying all Named Ranges in workbook

Anything after the ! in column 2 is not being displayed. What needs to be
changed?

Thanks

"Don Guillett" wrote:

Sub listnames()
Application.Calculation = xlManual
For Each n In ThisWorkbook.Names
lr = Cells(Rows.Count, "a").End(xlUp).Row + 1
Cells(lr, 1) = n.Name
Cells(lr, 2) = n
Next
Application.Calculation = xlAutomatic
End Sub


--
Don Guillett
SalesAid Software

"Barb Reinhardt" wrote in message
...
Programmatically, how do I get all of the named ranges in the workbook to
be
displayed on my Sheet1. I have named ranges that are workbook specific
and
worksheet specific. I'd like to know the sheet that they are specific to
if
they are present.

Thanks,




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default Displaying all Named Ranges in workbook

Barb,

Get a hold of Jan Karel Pieterse's Namemanager utility
http://www.jkp-ads.com/OfficeMarketPlaceNM-EN.asp

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Barb Reinhardt" wrote in message
...
Programmatically, how do I get all of the named ranges in the workbook to

be
displayed on my Sheet1. I have named ranges that are workbook specific

and
worksheet specific. I'd like to know the sheet that they are specific to

if
they are present.

Thanks,





Reply
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
Transfering 100 named ranges to an another workbook Oldjay Excel Discussion (Misc queries) 2 August 8th 07 07:40 PM
Phantom named ranges in a workbook? Dave O Excel Discussion (Misc queries) 3 September 26th 06 05:26 PM
Linking to named ranges in another workbook KG Excel Discussion (Misc queries) 4 March 30th 06 03:07 AM
Checking for named ranges in a workbook loopoo[_17_] Excel Programming 2 November 22nd 05 05:10 PM
SQL query a workbook - too many named ranges? Dave[_55_] Excel Programming 0 September 19th 05 06:26 PM


All times are GMT +1. The time now is 10:59 PM.

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"