View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
goss[_30_] goss[_30_] is offline
external usenet poster
 
Posts: 1
Default Code not going to next unused row

Hi ng
using xl 2003

My code is not pasting to next unused row
Should begin pasting row 9

Every time I run the code pastes further down and down

What am I doing wrong?

Sub Add_Employee()
Worksheets("mytools").Activate
Range("A1:J7").Select
With Range("A1:J7")
.Copy
End With

Worksheets("Time_Entry").Activate
Cells(Cells.SpecialCells(xlCellTypeLastCell).Row, 1).Select
ActiveSheet.Paste
Application.CutCopyMode = False
End Su

--
Message posted from http://www.ExcelForum.com