Just want to thank everyone for all the support you have given me in the past. I got another question here.
I'm trying to find a value in a column, copy the entire row, and paste it onto the next sheet.
For instance, if the term "Credit" is found in column B 10 times, I want all 10 rows copied to the next sheet.
Here is the code I have so far. (i'm a noob)
Sub FindCredit ()
Dim Credit As Range
Application.ScreenUpdating = False
Set Credit = Range("B:B").Find(what:="Credited")
Do Until Credit Is Nothing
Credit.EntireRow.Cut
Set Credit = Range("B:B").FindNext
Loop
End Sub
I know i'm missing a piece of code right after the Set Credit = Range("B:B").FindNext and was hoping you can tell me what the paste command would be.
End Sub
I'm trying to find a value in a column, copy the entire row, and paste it onto the next sheet.
For instance, if the term "Credit" is found in column B 10 times, I want all 10 rows copied to the next sheet.
Here is the code I have so far. (i'm a noob)
Sub FindCredit ()
Dim Credit As Range
Application.ScreenUpdating = False
Set Credit = Range("B:B").Find(what:="Credited")
Do Until Credit Is Nothing
Credit.EntireRow.Cut
Set Credit = Range("B:B").FindNext
Loop
End Sub
I know i'm missing a piece of code right after the Set Credit = Range("B:B").FindNext and was hoping you can tell me what the paste command would be.
End Sub