Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
rickv
 
Posts: n/a
Default Renaming Defined Name


How do you Rename Defined Name?


--
rickv
------------------------------------------------------------------------
rickv's Profile: http://www.excelforum.com/member.php...o&userid=25942
View this thread: http://www.excelforum.com/showthread...hreadid=393202

  #2   Report Post  
hierarchii
 
Posts: n/a
Default


Click "Insert" in the toolbar, and select "Name". Select "Define" and it
will bring up a list of all the defined names in the workbook. You can
remove a name or change the cell to which the name is attached.

Hope this helps.


--
hierarchii
------------------------------------------------------------------------
hierarchii's Profile: http://www.excelforum.com/member.php...o&userid=25943
View this thread: http://www.excelforum.com/showthread...hreadid=393202

  #3   Report Post  
KL
 
Posts: n/a
Default

Go to menu InsertNameDefine
Select the name to rename
Change its name and press the 'Add' button
Select the old name and press the 'Delete' button
Press 'OK' button

Another way is to do it by VBA code

Regards,
KL


"rickv" wrote in
message ...

How do you Rename Defined Name?


--
rickv
------------------------------------------------------------------------
rickv's Profile:
http://www.excelforum.com/member.php...o&userid=25942
View this thread: http://www.excelforum.com/showthread...hreadid=393202



  #4   Report Post  
Norman Jones
 
Posts: n/a
Default

Hi Rick,

And, if it is a VBA solution that you need, then try something like:

'==========================
Public Sub Tester()

Dim sStr As String

With ActiveWorkbook.Names
sStr = .Item("OldName").RefersTo
.Item("OldName").Delete
.Add "NewName", RefersTo:=sStr

End With

End Sub
'<<==========================

---
Regards,
Norman



"rickv" wrote in
message ...

How do you Rename Defined Name?


--
rickv
------------------------------------------------------------------------
rickv's Profile:
http://www.excelforum.com/member.php...o&userid=25942
View this thread: http://www.excelforum.com/showthread...hreadid=393202



  #5   Report Post  
Bob Phillips
 
Posts: n/a
Default

Rick,

You can't rename a name, you have to delete it and then create a new name
with the same refers to value.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"rickv" wrote in
message ...

How do you Rename Defined Name?


--
rickv
------------------------------------------------------------------------
rickv's Profile:

http://www.excelforum.com/member.php...o&userid=25942
View this thread: http://www.excelforum.com/showthread...hreadid=393202





  #6   Report Post  
Charles Williams
 
Posts: n/a
Default

You can rename a name using VBA
ActiveWorkbook.Names("Joe").Name = "freddy"

but any existing references in formulae etc to the previous name will NOT be
changed and so will be invalid.

regds
Charles Williams
Decision Models

"Bob Phillips" wrote in message
...
Rick,

You can't rename a name, you have to delete it and then create a new name
with the same refers to value.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"rickv" wrote in
message ...

How do you Rename Defined Name?


--
rickv
------------------------------------------------------------------------
rickv's Profile:

http://www.excelforum.com/member.php...o&userid=25942
View this thread:
http://www.excelforum.com/showthread...hreadid=393202





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
excel is substituting unicode for a defined name of a cell Mack Excel Discussion (Misc queries) 0 July 29th 05 10:46 PM
Default User Defined Functions - How? flycast Excel Discussion (Misc queries) 4 May 26th 05 04:26 AM
user defined function row number bj Excel Worksheet Functions 11 March 9th 05 01:31 PM
Defined range problem Pat Excel Discussion (Misc queries) 8 January 17th 05 11:25 AM
User defined charts- font size too small Bill B Charts and Charting in Excel 1 December 30th 04 06:23 PM


All times are GMT +1. The time now is 05:16 AM.

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

About Us

"It's about Microsoft Excel"