krish42632
New Member
- Joined
- Sep 17, 2017
- Messages
- 7
kindly solve this issue
my code is
Private Sub Button9_Click()
Sheets("sys").Range("A9142:A20000").Copy
Dim lastrow As Long
lastrow = Range("A9249:A20000").End(xlUp).Row
Sheets("Sheet1").Activate
Cells(lastrow + 1, 1).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks:=False, Transpose:=False
End Sub
my code is
Private Sub Button9_Click()
Sheets("sys").Range("A9142:A20000").Copy
Dim lastrow As Long
lastrow = Range("A9249:A20000").End(xlUp).Row
Sheets("Sheet1").Activate
Cells(lastrow + 1, 1).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks:=False, Transpose:=False
End Sub