JakariKryze
New Member
- Joined
- Dec 14, 2021
- Messages
- 10
- Office Version
- 365
- Platform
- Windows
I have seen a few other posts similar to this, but not similar enough that i can adapt it at my current skill level. I need a VBA code that will format a page and Delete all rows with "PayPal: DPAGNF - Nutrition Dieteti" in column "C". here is what i have so far. thanks for helping!
VBA Code:
Sub FormatBanner()
Dim Cell As Range
For Each cell In Worksheets("Banner").Range("C2:C300")
If cell.Value = "PayPal: DPAGNF - Nutrition Dieteti" Then
Cell.EntireRow.Delete
End If
Next cell
End Sub
Date | A41585 | 125453 | 102900 | |
12/10/2021 23:59 | FC109074 | EMV BANK CARD DEPOSIT | 971.5 | Credit |
12/10/2021 23:59 | FI040604 | PCARD DEPOSIT Chocolate Facto | 205.07 | Credit |
12/9/2021 23:59 | FC108968 | EMV BANK CARD DEPOSIT | 606.58 | Credit |
12/9/2021 23:59 | FI040530 | PCARD DEPOSIT Aggie Chocolate Facto | 904.67 | Credit |
12/8/2021 23:59 | FC108938 | PayPal: DPAGNF - Nutrition Dieteti | 13.86 | Credit |
12/8/2021 23:59 | FC108938 | PayPal: DPAGNF - Nutrition Dieteti | 66.18 | Credit |
12/9/2021 12:00 | J0307182 | Reverse J0306195 | 5525 | Credit |
12/8/2021 23:59 | FC108880 | EMV BANK CARD DEPOSIT | 361.84 | Credit |
12/8/2021 23:59 | FI040479 | PCARD DEPOSIT Chocolate Facto | 561.19 | Credit |
12/7/2021 23:59 | FC108848 | PayPal: DPAGNF - Nutrition Dieteti | 162.64 | Credit |