Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
I got this formula that gives me the possibility to extract data when i type a word, "K". This formula works but i need to put the extracted data to start in second line, and i cant, i changed where is "H" to many numbers and didn't make the effect that i want. Someone can help me? Other thing, with this formula i can control with "C" in wich row it starts the extracted data of that line to Sheet2, but if i want just some row and not the whole line, for example i want the rows C, D, E, U, only and not the whole line, what do i need to change in the whole formula. Sub comlin3() For i = 2 To Cells(Rows.Count, "A").End(xlUp).Row If Cells(i, "B").Value = "K" Then iRow = iRow + 1 Cells(i, "C").Resize(, 10).Copy Worksheets("Sheet2").Range("H" & iRow) End If Next i End Sub Thanks |