Hi,
I am trying to create a separate workbook of one particular sheet only from number of sheets in my workbook. with below code I am able to do it but values coming in separate sheet is in formulas , where I need paste special values. Please suggest:-
I am trying to create a separate workbook of one particular sheet only from number of sheets in my workbook. with below code I am able to do it but values coming in separate sheet is in formulas , where I need paste special values. Please suggest:-
Code:
Sub Sheet_SaveAs()
Dim wb As Workbook
Sheets("Org").Copy
PasteSpecialxlPasteValues
Set wb = ActiveWorkbook
With wb
.SaveAs ThisWorkbook.Path & "\Comeon.xlsx"
'.Close False
End With
End Sub