Writing macros is like lego for me, a lot of trial and error (learning and newby)
Have a problem and hope someone can help me out.
So i have this working macro:
Sub kopieer()
On Error GoTo Err_Execute
Sheet130.Range("A4:BV101").Copy
Sheet4.Range("A2").Rows("1:1").Insert xlShiftDown
Err_Execute:
If Err.Number = 0 Then
MsgBox "All have been copied!"
ElseIf Err.Number <> 0 Then
MsgBox Err.Description
End If
End Sub
This macro copies something from sheet to sheet and inserts the rows. This is perfect. Now i want this macro to only copy the cells values instead of the complete cell contents (dont want the formulas)
I tried to include a PasteSpecial xlPasteValues but it looks combining this with Insert xlShiftDown makes it difficult.
Hope someone can help out :)
Thanks!