ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   named cells (https://www.excelbanter.com/excel-programming/405065-named-cells.html)

ranswert

named cells
 
Is there a way to write a procedure that will pull all the cell names off a
range of cells and put it into a list?
Thanks

Mike Fogleman

named cells
 
There is an ADD-IN called ASAP Utilities that will put all named ranges in a
new workbook, along with many, many other useful tools.

http://www.asap-utilities.com/

Mike F
"ranswert" wrote in message
...
Is there a way to write a procedure that will pull all the cell names off
a
range of cells and put it into a list?
Thanks




Don Guillett

named cells
 
Do you want a list of defined names?

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"ranswert" wrote in message
...
Is there a way to write a procedure that will pull all the cell names off
a
range of cells and put it into a list?
Thanks



ranswert

named cells
 
yes

"Don Guillett" wrote:

Do you want a list of defined names?

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"ranswert" wrote in message
...
Is there a way to write a procedure that will pull all the cell names off
a
range of cells and put it into a list?
Thanks




Mike H

named cells
 
Perhaps I'm missing something but isn't it F3 and paste list

Mike

"ranswert" wrote:

Is there a way to write a procedure that will pull all the cell names off a
range of cells and put it into a list?
Thanks


ranswert

named cells
 
I was trying to get the defined names for a certain range.

"Mike H" wrote:

Perhaps I'm missing something but isn't it F3 and paste list

Mike

"ranswert" wrote:

Is there a way to write a procedure that will pull all the cell names off a
range of cells and put it into a list?
Thanks


Gary''s Student

named cells
 
Sub listum()
Dim Nm As Name
Set r = Selection
namelist = ""
For Each Nm In ActiveWorkbook.Names
If Intersect(Range(Nm), r) Is Nothing Then
Else
namelist = namelist & "," & Nm.Name
End If
Next
MsgBox (namelist)
End Sub


Forgive the leading comma


--
Gary''s Student - gsnu200766


"ranswert" wrote:

Is there a way to write a procedure that will pull all the cell names off a
range of cells and put it into a list?
Thanks


ranswert

named cells
 
Thanks I'll give that a try

"Gary''s Student" wrote:

Sub listum()
Dim Nm As Name
Set r = Selection
namelist = ""
For Each Nm In ActiveWorkbook.Names
If Intersect(Range(Nm), r) Is Nothing Then
Else
namelist = namelist & "," & Nm.Name
End If
Next
MsgBox (namelist)
End Sub


Forgive the leading comma


--
Gary''s Student - gsnu200766


"ranswert" wrote:

Is there a way to write a procedure that will pull all the cell names off a
range of cells and put it into a list?
Thanks



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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com