• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

how to delete the formulas in workbook and let the value remain?

FIFA

New Member
an excel file have a lot of formulas,I have to delete it but remain the values of formulas,how to write the macro can to delete the formulas in workbook and let the value remain?

thanks
 

Range.Formula = Range.Value
(or UsedRange instead of Range) …

Or a Copy / PasteSpecial by value (see in VBA inner help).
 
So you forgot to read VBA inner help !
You must specify just before which is the worksheet to modify
as per sample in VBA inner help of UsedRange

Other way : activate Macro recorder (noob best friend !)
and operate manually Copy / PasteSpecial by value :
you will get your free own code !
 
Back
Top