I want to copy the final input sheet of data workbook to a new workbook as only values
I\'ve tried this but it pastes the data as valu
Option Explicit
Public Sub TestMe()
Dim newWb As Workbook
Dim newWbPath As String: newWbPath = ThisWorkbook.Path & "\NewWB.xlsx"
Set newWb = Workbooks.Add
ThisWorkbook.Worksheets("FinalCountDown").Cells.Copy
newWb.Worksheets(1).Cells.PasteSpecial Paste:=xlPasteValues
Application.CutCopyMode = False
newWb.SaveAs newWbPath
newWb.Close
End Sub
ThisWorkbook("FinalCountDown")
to the first worksheet of a new Workbook. newWbPath
.newWb
is closed with newWb.Close
.