I am trying to find the most efficient way of converting an entire workbook to values. I did find the following code from another site :-
However I get an error on the line in bold. Can anybody tell me why ? Thanks
Regards
Kaps
However I get an error on the line in bold. Can anybody tell me why ? Thanks
Regards
Kaps
Rich (BB code):
Public nirvana_workbook as workbook
Public sub convert_to_values()
nirvana_workbook.activate
Worksheets.Select
Cells.Select
Selection.Copy
Selection.PasteSpecial Paste:=xlPasteValues
ActiveSheet.Select
Application.CutCopyMode = False
End Sub