I would like to copy only values (without formulas and formatting) while im merging many Worksheets to one bulksheet but i only know PasteSpecial method and don't know how to apply it to that.
myRange.Copy Destination:=Sheets("Combined").Range("A1").Offset(lastRow).Pastespecial xlPastevalues? Or maybe somehow change range type to value?
I don't know VBA. Only using simple macros on a daily basis. Would be grateful for any help.
Sub Combine()
Dim jCt As Integer
Dim ws As Worksheets
Dim myRange As Range
Dim lastRow As Long
lastRow = 1
Worksheets.Add
Sheets(1).Name = "Combined"
For jCt = 2 To Sheets.Count
Set myRange = Sheets(jCt).Range(Sheets(jCt).Cells(3, 1), Sheets(jCt).Range("A1").SpecialCells(xlCellTypeLastCell))
Debug.Print Sheets(jCt).Name, myRange.Address
myRange.Copy Destination:=Sheets("Combined").Range("A1").Offset(lastRow)
lastRow = lastRow + myRange.Rows.Count
Next
End Sub