I have two Worksheets: Sheet1 and Sheet2. Sheet1 has raw data (without any formulas), Sheet2 has formulas in some cells. Is it possible to copy values from Sheet1 to Sheet2 without formulas being removed from Sheet2?
I am using the following code to copy values from sheet1 to sheet2. After values are copied, formulas in Sheet2 get removed.
i = 2
With Sheets(1)
'loop column A
For Each Cell In .Range("A2:A" & .Cells(.Rows.Count, "A").End(xlUp).Row)
.Rows(Cell.Row).Copy Destination:=Sheets(2).Range("A" & i)
i = i + 1
Next Cell
End With