Contact US

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

How to update calculations after a #NAME? or #VALUE?i repair

How to update calculations after a #NAME? or #VALUE?i repair

How to update calculations after a #NAME? or #VALUE?i repair


I managed to delete all my named ranges in excel the other week and I am nearly finished locating and renaming the ranges - I had hundreds; fortunately, many are redundant now.

The problem I am finding is that after I have repaired the #NAME?, the #NAME? will not resolve itself until after I have selected the cell and hit return. I am having a similar problem with my VBA functions within the worksheet. These always equate to #VALUE? until I select the cell and hit return.

Is there a way I am able to refresh the sheet without having to select each cell?

Regards Dan

RE: How to update calculations after a #NAME? or #VALUE?i repair

I have never had the "opportunity" to investigate this, but might the solution be to select the entire sheet (by clicking in the top left-hand corner of the "frame", then doing a copy and a paste? Just make sure you have a backup copy before you try this.

RE: How to update calculations after a #NAME? or #VALUE?i repair

I will let you know.

RE: How to update calculations after a #NAME? or #VALUE?i repair

I did the copy and paste and it did not work. Even managed to gater a few #REF's as well.

RE: How to update calculations after a #NAME? or #VALUE?i repair

I'm pretty much out of ideas.  Try automating the process using VBA somehow?  Search for every #NAME? on the sheet, then "select" and "enter" on each of them.  But I am not sure how to do the "search" bit.  Worst case MIGHT be to copy the entire worksheet first, then (on the copy) convert everything to values, then search on this temporary worksheet for the #NAME? instances so you can take the addresses back to the proper worksheet.

RE: How to update calculations after a #NAME? or #VALUE?i repair



But I am not sure how to do the "search" bit.

Check out the Range Find VBA function https://docs.microsoft.com/en-us/office/vba/api/Ex...

Use a loop using Range.FindNext as per the Vb example in the linked document.

Use this code to tickle the cell...


                c.Value = c.Value
                Set c = .FindNext(c) 
            Loop While Not c Is Nothing 


glassesJust traded in my OLD subtlety...
for a NUance!tongue

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login


Low-Volume Rapid Injection Molding With 3D Printed Molds
Learn methods and guidelines for using stereolithography (SLA) 3D printed molds in the injection molding process to lower costs and lead time. Discover how this hybrid manufacturing process enables on-demand mold fabrication to quickly produce small batches of thermoplastic parts. Download Now
Design for Additive Manufacturing (DfAM)
Examine how the principles of DfAM upend many of the long-standing rules around manufacturability - allowing engineers and designers to place a part’s function at the center of their design considerations. Download Now
Taking Control of Engineering Documents
This ebook covers tips for creating and managing workflows, security best practices and protection of intellectual property, Cloud vs. on-premise software solutions, CAD file management, compliance, and more. Download Now

Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close