Error Checking in Excel
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 4 of 4

Thread: Cell Names

  1. #1
    New Member
    Join Date
    May 2002
    Posts
    24
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Ive taken over a file with work that has a lot of named cells and cell ranges. Is there any way to delete these names, either individually or collectively, and have their dependents continue to reference them correctly? Thanks in advance.

  2. #2
    MrExcel MVP lenze's Avatar
    Join Date
    Feb 2002
    Location
    Helena, MT
    Posts
    13,690
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    You may delete the names unde Insert>Names>Define. If you do, however, formulas that use the Names will no longre function. Suggest you do a Find and replace for each name first.

    Find RangeName
    Replace with $A$1

  3. #3
    Board Regular
    Join Date
    Feb 2002
    Location
    Sheffield, UK
    Posts
    253
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    As lenze so rightly says, you will probably need to do a find and replace on the formulas first. I can help you delete all the ranges at once though, with this bit of vb code:

    Sub DeleteNamedRanges()
    For n = 1 To ActiveWorkbook.Names.Count
    ActiveWorkbook.Names(1).Delete
    Next n
    End Sub

  4. #4
    MrExcel MVP
    Join Date
    Feb 2002
    Location
    Austin, Texas USA
    Posts
    11,654
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    May I ask why you want to replace Names with cell references?

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •