How to save an entire workbook, but only Values?

Alejo1970

New Member
Joined
Jul 10, 2007
Messages
19
I have a very large XL workbook, with 20+ worksheets and many complex formulas, which has grown to over 35 MB. I want to distribute it to other people, but only the values, to keep the file light.

Is there any way to save entire the file with just the values? (without having to go worksheet by worksheet and doing Copy -> Paste Values)?

A solution not involving macros is preferred. Thanks!!

-Alejandro
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
FYI before you try anything BACKUP!! BACKUP!! and oh yea BACKUP!!

I just wanted to remind you before you try a macro, that looses all those valuable formulas and replaces them with VALUEs.
 
Upvote 0
Of course, I'll keep a separate copy with the full formulas, etc. Thanks for the advice, though.

Now, any idea of how to go about actually saving the entire file as just values?

Any help is appreciated. Thanks.
 
Upvote 0
Here is what I used when I had to do the same thing every month, I hope it helps. I just copied it into a module use F8 to visually make sure it is working for your application. And if you can tell sometimes I failed to backup, Thank God for IT & Network Admin.
Sub thevalues()
CHECK = MsgBox("Make a copy before this is ran!", vbOKCancel, "Just Checking")
If CHECK = 1 Then
For Each ws In Worksheets
other = ws.Name
Worksheets(other).Activate
Range("A1").Select
Range(Selection, ActiveCell.SpecialCells(xlLastCell)).Select
Selection.Copy
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, _
SkipBlanks:=True, Transpose:=False
Application.CutCopyMode = False
Range("A1").Select
Next ws
Else: End If
End Sub
 
Upvote 0
Thanks for the solution! It uses macros, though. Does anyone have another solution without macros? (I'm VBA-challenged.)
 
Upvote 0
You could print it to a pdf and distribute that instead, pdf's are quite economical on file size and you can set different levels of security to stop people from messing with it (according to your needs).
 
Upvote 0
You could try to just select all sheets (select the leftmost one, then shift-click on the last one), then select all cells (the small box left of column A and above row 1), then copy & paste as values.
 
Upvote 0
You could try to just select all sheets (select the leftmost one, then shift-click on the last one), then select all cells (the small box left of column A and above row 1), then copy & paste as values.

No, you really don't want to do that. ANY complexity in the WB just leads to massive problems.

Having said that if your WB is simple enough then go for it (but at 35MB, I doubt it !)
 
Upvote 0
I was messing around with all the ways to select, copy and paste.
I got nothing.
I could group all sheet & select all like Jubjab suggested (I liked that), but I couldn't copy all selections & paste value. It is probably why I made a macro for it. Of course after I saved the values I removed the macro before distribution.
 
Upvote 0
IT WORKED!!

Thanks Jubjab for your solution!! It worked just fine with my (now 43MB and growing) workbook.

Simple, elegant and effective. Beautiful.

The only thing you need to make sure is that the target workbook has enough empty worksheets on it, so that all tabs fit in. Other than that, it just works!

Thanks again.
 
Upvote 0

Forum statistics

Threads
1,221,567
Messages
6,160,532
Members
451,655
Latest member
rugubara

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top