Thread: insert rows
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
gav meredith gav meredith is offline
external usenet poster
 
Posts: 54
Default insert rows

afternoon, can someone please advise how this code should read so as to
insert rows to hold the data pasted.(within the print area)

cheers!!!

Private Sub CommandButton1_Click()

Sheets("quote2").Range("appendix").Copy

Sheets("contract").Select
Cells.FindNext(After:=ActiveCell).Activate

Cells.Find(What:="appendix1.0", _
After:=ActiveCell, LookIn:=xlFormulas, _
LookAt:=xlPart, SearchOrder:=xlByRows, _
SearchDirection:=xlNext, _
MatchCase:=False).Activate

ActiveCell.Offset(2, 0).Select
ActiveSheet.Paste
End Sub