You are on page 1of 2
ExtendOffice fice Tips & Tricks Ips & Ticks for Excel HETips & Tricks for Word Tips & Tricks for Outlook (Udocuments him!) _(Idocumentsfexcel.ntml) _(ldacumentswore.html) _{fdacuments/outook hl) How To Save All Worksheets As Values Only? It you have a workbook which contains multiple formulas, now, you need to distribute this flo to ether users, you don't want to show the formulas but only values be dsplayed. Normally we can quickly save a worksheet as values by copying and pasting the data as ‘values only. But, how could you save all worksheets as values only without copying and pasting one by one? Save all worksheets as values only with VBA code Recommended Productivity Tools Office Tab: Bring handy tabs to Excel and other Office software, just like Chrome, Firefox and new Internet Explorer Uproducvotice-tab.him!) Try now (kdownloads/SetupOiiceTab xe) ‘© Save All Worksheets As Values Only With VBA Code: ‘The following VBA code can help you to quickly save all sheets as values (no formulas) and preserve al cel formatting, Please do 2s this 1. Hold down the ALT + F11 keys to open the Microsoft Visual Basic for Applications window, 2. Click insert > Module, and paste the fallowing cade in the Module Window. VBA code: Save all worksheets as values only 1 Sub Saveasvalue() zi 2| “Updateby Extendorrice 2161025 3 ‘Dim wsh As Worksheet 4 For Each wsh in. ThisWorkbook.Worksheets 5 ush.Cells.copy: 6 sh.Cells.Pastespecial xlPastevalues | __ Application.cutcopytode = False 9 | ena Sub 3, Then press FS key o un tie cade, andthe whole workbook has been saved as values only, ll formulas have been removed at ‘once only leave values with cel formating, Note: Before you apply the cade, you can say a copy ofthe workbook fst “4 Bring handy tabs to Excel and other Office software, just like Chrome, Firefox and new Internet Explorer. Kutools For Excel (Product/Kutools-For-ExcolHtml) any special skills, save two hours every day! + 200 New Features for Excel, Make Excel Much Easy and Powerful: +» Amazing! Increase your productivity in 5 minutes. Don't ne + Merge CeliRowssColumns without Losing Data + Combine and Consalidate Muliple Sheets and Workbooks. + Compare Ranges, Copy Muliple Ranges, Convert Tex to Dat, Uril and Cureney Conversion. + Count by Colors, Paging Subtotals, Advanced Sort and Supe Fier, + More SelotnsertDeete/TextFormat!inkiCommant/Workbooks/ Worksheets Tool Gee? ear. mmG G ° 7 @ rtm fe 23s "oor eae ae, mas Ease, = el aa “4 “a Sra > BB smow ice converter + Hel Copy Ranges HEA comoine | toais~ Toots Took > Link Toots + hate calm eatlilll i E @ TEC nt SST m4 = ve uta aca Ci needa sim (EEEEEDD.sortcasnurotet Vordertutool-for-ex alice + 22days ago “Thank! The VBA code worked wonderful (ne ting noticed hough when Wed use Ion a werook wh Filer on some cll, wont work. ‘Any workaround or this cod lo werk wihout dsabing te Fito? aly Sue Home) Knowledge documents btm!) Support Usupporthiml Forum Uforumnim) Bevacy Policy Uorvacy-palcy him) ‘About Us 'suppor¥aboulus html) Copyright © 2008 - 2017 ExtendOffice.com| All Rights Reserved, Sitemap /componentiimapistemap him!) Microsoft and the Office logo are trademarks or registered trademarks of Microsoft Corporation inthe United Sates andor other countries,

You might also like