Open a workbook with all formulae as values?

jrabbit

New Member
Joined
Nov 9, 2011
Messages
3
This seems like a really simple thing, there must be an obvious solution.
I have a multi worksheet workbook (54 worksheets, it is awful!)
I want to get rid of some worksheets but they all have links to each other as formulae.

Can I copy and paste everything as values in all worksheets at once?

It would be really useful. I have more than one version of the above workbook :(
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
If you do this, you will lose all formulas - those that link to sheets you want to remove and those that are linked to sheets you want to keep. Why do you think this would be useful? Or, do you just want to create a values-only copy of your workbook?
 
Upvote 0
If you do this, you will lose all formulas - those that link to sheets you want to remove and those that are linked to sheets you want to keep. Why do you think this would be useful? Or, do you just want to create a values-only copy of your workbook?

Yes I realise I will loose all the formulae, that's what I'm hoping for. I need to work on the data values, for a subset of the worksheets. If I delete worksheets in other sheets it will create #REF warnings. Also I can easily have a save-as of the workbook with formulas in to refer to.

A values-only copy of the workbook is exactly what I'm asking for, yes. Without me having to manually go into each of the 54 worksheets, copy all and paste as values (which is what I'd normally do)

-thanks.
 
Upvote 0
This seems like a really simple thing, there must be an obvious solution.
I have a multi worksheet workbook (54 worksheets, it is awful!)
I want to get rid of some worksheets but they all have links to each other as formulae.

Can I copy and paste everything as values in all worksheets at once?

It would be really useful. I have more than one version of the above workbook :(

There's more likely a better way but does this help?

Code:
Private Sub Workbook_Open()
Dim i As Long

For i = 1 To Worksheets.Count
Sheets(i).Cells.Value = Sheets(i).Cells.Value
Next i
End Sub
 
Upvote 0
Thanks I did manage very effectively this using a macro I found on another forum, although it probably is very similar to the solution posted here.

I don't have the link but if anyone is very interested i can dig it out from my history or copy the macro out from my worksheet.

x
Thanks.
 
Upvote 0

Forum statistics

Threads
1,207,261
Messages
6,077,363
Members
446,280
Latest member
Danielosama

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