I have the following code in a workbook that I have inherited.
Sub CreateCopies()
‘Copies sheets as required by button on Summary sheet
Sheets(Array(“Assumptions”, “Summary Page”)).Copy
End Sub
The code copies the sheets to another blank workbook, but retains the locked cells and formulae.
I would like the export to copy the sheets as values only, without any locked cells.
Also, one other quick question I have is, ‘how this code can actually work’? becasue I would have expected after the Copy command that there would need to be a Paste command to the new worksheet? The code pastes to a new workbook without seemingly being told?
many thanks for any help
Rob