How can I select the first empty row in a sheet, and paste a previously cut cell (or Cells) into that row?
The code below didn’t work.
Sub EnterAtEnd()
Range("A1:A10").Select
Selection.Copy
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-comfficeffice" /><o></o>
Dim LR As Long: LR = Range("A" & Rows.Count).End(xlUp).Row + 1
Dim ws As Worksheet: Set ws = Worksheets("MyWorkSheet")
ws.Range("A" & LR).Value = ActiveSheet.Paste
End Sub
<o></o>
Thank You
The code below didn’t work.
Sub EnterAtEnd()
Range("A1:A10").Select
Selection.Copy
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-comfficeffice" /><o></o>
Dim LR As Long: LR = Range("A" & Rows.Count).End(xlUp).Row + 1
Dim ws As Worksheet: Set ws = Worksheets("MyWorkSheet")
ws.Range("A" & LR).Value = ActiveSheet.Paste
End Sub
<o></o>
Thank You