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: 167
Default Finding named range references in formulae

This post is similar to my post from yesterday about replacing references to
named ranges with their respective addresses, but now I have a different
question.

While using Jan Karel Pieterse's Name Manager, I found that it was able to
rename Named Ranges and replace references to them in cell formulae.

It was also able to replace references to that range. For example, I had
ranges named "i" and "int_x" and a cell containing the formula
"=sum(i,int_x)". When I told Name Manager to rename "i" to "go", it replaced
the stand-alone "i" in the formula and NOT the "i" in "int_x".

Is there some method that simplifies this task? I was trying to using
string functions to replace the "i" with "go", but that resulted in "gont_x".
Is there a method of looking in a cell's formula and finding the references,
similiar to how we look at a formula in the formula bar and see the
references' text colored and their cells highlighted?

My overall goal is to write a routine that removes all named ranges from a
workbook and replaces all references with the named range's address.

Thanks,
Pflugs
 
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 references in function formulas Bob Excel Worksheet Functions 1 March 11th 08 04:21 PM
Please Help! Copy named range to new workbook without changing references. Matt.Russett Excel Programming 2 April 3rd 07 02:00 PM
Finding a named range based on cell value and copy/paste to same sheet? Simon Lloyd[_715_] Excel Programming 1 May 11th 06 11:25 PM
Replacing Named Range Names By Cell References in Formulas KL[_6_] Excel Programming 2 December 13th 04 08:56 PM
Finding if the activecell is withing a named range Seamus Conlon Excel Programming 8 August 28th 04 12:10 AM


All times are GMT +1. The time now is 01:47 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"