xcruc1at3r
Board Regular
- Joined
- Aug 4, 2011
- Messages
- 50
Can any one Kindly Plssss...Modify this Coding To The Selected Data From 1 WorkBook's Sheet1 To Another Already Created WorkBook's Sheet1 in My documents.
Will Appreciate the HELP
Sub CopySelectedMulti()
Dim NextRow&, rng As Range
With Sheets("Sheet2")
For Each rng In Selection.Areas
On Error Resume Next
NextRow = .Cells.Find(What:="*", After:=.Range("A1"), SearchOrder:=xlByRows, SearchDirection:=xlPrevious).Row + 1
If Err <> 0 Then NextRow = 1
On Error GoTo 0
rng.Copy .Cells(NextRow, 1)
Next rng
End With
End Sub
Will Appreciate the HELP
Sub CopySelectedMulti()
Dim NextRow&, rng As Range
With Sheets("Sheet2")
For Each rng In Selection.Areas
On Error Resume Next
NextRow = .Cells.Find(What:="*", After:=.Range("A1"), SearchOrder:=xlByRows, SearchDirection:=xlPrevious).Row + 1
If Err <> 0 Then NextRow = 1
On Error GoTo 0
rng.Copy .Cells(NextRow, 1)
Next rng
End With
End Sub