• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

copy and paste certain rows MACRO

daveyc3000

New Member
hey

im looking to make a macro so that ONLY copies and pastes rows in column B that contain the word "FRN." ....and "FRN" always appears on the RIGHT side of the cell

thanks
 
If i got you. You can try this:-

Code:
Sub Copy_Data()

'you must use Column Header for this code.
'Data will store in Next column.

Application.ScreenUpdating = False

For Each cell In Range("B:B")
     If cell.Value Like "*" & "FRN" Then
     cell.Offset(0, 1).End(xlUp).Offset(1, 0).Value = cell.Value
     End If
Next

Application.ScreenUpdating = True

End Sub
 
Back
Top