Transferring data autonomously to another sheet with certain text
Solved/Closed
achettri
Posts
1
Registration date
Wednesday December 11, 2019
Status
Member
Last seen
December 11, 2019
-
Dec 11, 2019 at 11:56 AM
TrowaD Posts 2921 Registration date Sunday September 12, 2010 Status Moderator Last seen December 27, 2022 - Dec 17, 2019 at 12:00 PM
TrowaD Posts 2921 Registration date Sunday September 12, 2010 Status Moderator Last seen December 27, 2022 - Dec 17, 2019 at 12:00 PM
Related:
- Transferring data autonomously to another sheet with certain text
- Transfer data from one excel worksheet to another automatically - Guide
- Google sheet right to left - Guide
- Free fire id transfer facebook to google - Guide
- Windows network commands cheat sheet - Guide
- Tmobile data usage text - Guide
2 responses
TrowaD
Posts
2921
Registration date
Sunday September 12, 2010
Status
Moderator
Last seen
December 27, 2022
555
Updated on Dec 17, 2019 at 12:01 PM
Updated on Dec 17, 2019 at 12:01 PM
Hi Achettri,
Give the following code a try:
To implement the code, right-click the "Test Project" sheets tab and select "View code". Paste the code in the big white field.
The code will run automatically when entering data in column F.
Note: By default the code is case sensitive. When you want to also copy rows containing "pending" and "candidates" in column F, then start the code with this:
Best regards,
Trowa
Give the following code a try:
Private Sub Worksheet_Change(ByVal Target As Range) If Intersect(Target, Columns("F")) Is Nothing Then Exit Sub If InStr(Target.Value, "Pending") > 0 Or InStr(Target.Value, "Candidates") > 0 Then Target.EntireRow.Copy Sheets("Pending Test").Range("A" & Rows.Count).End(xlUp).Offset(1, 0) End If End Sub
To implement the code, right-click the "Test Project" sheets tab and select "View code". Paste the code in the big white field.
The code will run automatically when entering data in column F.
Note: By default the code is case sensitive. When you want to also copy rows containing "pending" and "candidates" in column F, then start the code with this:
Option Compare Text
Best regards,
Trowa
Bryx
Posts
218
Registration date
Friday December 6, 2019
Status
Member
Last seen
December 22, 2021
4
Dec 13, 2019 at 02:21 AM
Dec 13, 2019 at 02:21 AM
Hi!
Do you have a very good knowledge of VBA? The programming language on Excel or content validation?
Cheers
Do you have a very good knowledge of VBA? The programming language on Excel or content validation?
Cheers