Hi,
I'm trying to copy selected rows from one worksheet to the next available row on another - something I've done before! BUT IT DOESN'T WORK! I've tried all kinds of variations, but all I get is the last of the copied rows, which makes me think it is overlaying the previous rows. I would be eternally grateful if someone could see what I'm missing.
Many thanks,
Bonnie
If COPYLINE <> "YES" Then GoTo SKIPCOPY
'**
MsgBox "output Stuff"
Dim copySheet As Worksheet
Dim pasteSheet As Worksheet
Set copySheet = Worksheets("Summary Sheet")
Set pasteSheet = Worksheets("Your Dates")
Application.ScreenUpdating = False
copySheet.Range("A" & i & ":M" & i).Copy
pasteSheet.Cells(Rows.Count, 1).End(xlUp).Offset(1).PasteSpecial xlPasteValues
Application.CutCopyMode = False
Application.ScreenUpdating = True
SKIPCOPY:
'
Next
ENDitall:
I'm trying to copy selected rows from one worksheet to the next available row on another - something I've done before! BUT IT DOESN'T WORK! I've tried all kinds of variations, but all I get is the last of the copied rows, which makes me think it is overlaying the previous rows. I would be eternally grateful if someone could see what I'm missing.
Many thanks,
Bonnie
If COPYLINE <> "YES" Then GoTo SKIPCOPY
'**
MsgBox "output Stuff"
Dim copySheet As Worksheet
Dim pasteSheet As Worksheet
Set copySheet = Worksheets("Summary Sheet")
Set pasteSheet = Worksheets("Your Dates")
Application.ScreenUpdating = False
copySheet.Range("A" & i & ":M" & i).Copy
pasteSheet.Cells(Rows.Count, 1).End(xlUp).Offset(1).PasteSpecial xlPasteValues
Application.CutCopyMode = False
Application.ScreenUpdating = True
SKIPCOPY:
'
Next
ENDitall: