hi hanumant if your text in A1 as " =Sheet1!$F$4:$F$7 " type the below formula anywhere in the worksheet =MID(SUBSTITUTE(SUBSTITUTE(TRIM(SUBSTITUTE(A1,"$","")),"=","")," ",""),2,LEN(TRIM(SUBSTITUTE(SUBSTITUTE(TRIM(SUBSTITUTE(A1,"$","")),"=","")," ","")))-2)
-- *Thanks & Regards Thamu * On Tue, Mar 22, 2011 at 3:11 AM, STDEV(i) <setiyowati.d...@gmail.com> wrote: > Dim nm as name, r as long > For each nm in thisworkbook.names > r = r + 1 > Cells(r, 1) = nm.Name > Cells(r, 2) = nm.address(false, false) > Next > > > > On 3/18/11, <hanumant_5...@yahoo.co.in> wrote: > > Hi friends, > > > > i want to find out all the namedranges from worksheet / workbook. can > > somebody > > please help me. > > > > eg. lets say A1 to A4 name of the range is range1 > > lets say B1 to B4 name of the range is range2 > > lets say C1 to C4 name of the range is range3 > > lets say D1 to D4 name of the range is range4 > > > > NamedRange may have any name and it wil refer to any range. there is no > fix format. > > looking for reply > > > > -- > > -- > > ---------------------------------------------------------------------------------- > Some important links for excel users: > 1. Follow us on TWITTER for tips tricks and links : > http://twitter.com/exceldailytip > 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 > 3. Excel tutorials at http://www.excel-macros.blogspot.com > 4. Learn VBA Macros at http://www.quickvba.blogspot.com > 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com > > To post to this group, send email to excel-macros@googlegroups.com > > <><><><><><><><><><><><><><><><><><><><><><> > Like our page on facebook , Just follow below link > http://www.facebook.com/discussexcel > * * -- ---------------------------------------------------------------------------------- Some important links for excel users: 1. Follow us on TWITTER for tips tricks and links : http://twitter.com/exceldailytip 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 3. Excel tutorials at http://www.excel-macros.blogspot.com 4. Learn VBA Macros at http://www.quickvba.blogspot.com 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com <><><><><><><><><><><><><><><><><><><><><><> Like our page on facebook , Just follow below link http://www.facebook.com/discussexcel