Thread
:
Find/Copy/paste.. then Find/Paste - not working ... at all....
View Single Post
#
8
Posted to microsoft.public.excel.programming
Don Guillett
external usenet poster
Posts: 10,124
Find/Copy/paste.. then Find/Paste - not working ... at all....
..SpecialCells(xlVisible).entirerow.Copy _
--
Don Guillett
SalesAid Software
wrote in message
ups.com...
Hi Don,
I modified the code... and it copies the FAVO cell from the data sheet
to Section 2 - how do i get it to copy the whole row?
Sub copiedfiltereddata()
mr = Sheets("Section 2").Columns(1).Find("avon").Row
With Range("a2:a70")
.AutoFilter Field:=1, Criteria1:="favo"
mc = .SpecialCells(xlVisible).Count
Sheets("section 2").Rows(mr + 1 & ":" & mr + mc).Insert
.SpecialCells(xlVisible).Copy _
Sheets("section 2").Cells(mr + 1, 1)
.AutoFilter
End With
End Sub
Cheers
P
Reply With Quote
Don Guillett
View Public Profile
Find all posts by Don Guillett