Hi Guys,
Could you please help me to write a VBA code?
I want to find a next empty cell in column E, then select the entire row and eventually select everything below and delete it. Below is an example for your reference.
A B
1 Account Code Account Name
2 1111 Bank Name
3 1112 Bank Name
4 1113 Bank Name
5 1114 Bank Name
6 1115
7 1116
8 1117
9 1118
So eventually I want the VBA code can delete everything from Row 6, based on the next empty cell under column B.
Currently I can only find one VBA code but that only helps me to select the next empty row in column E.
Range("E" & Rows.Count).End(xlUp).Offset(1).Select
Thanks a lot guys.
Could you please help me to write a VBA code?
I want to find a next empty cell in column E, then select the entire row and eventually select everything below and delete it. Below is an example for your reference.
A B
1 Account Code Account Name
2 1111 Bank Name
3 1112 Bank Name
4 1113 Bank Name
5 1114 Bank Name
6 1115
7 1116
8 1117
9 1118
So eventually I want the VBA code can delete everything from Row 6, based on the next empty cell under column B.
Currently I can only find one VBA code but that only helps me to select the next empty row in column E.
Range("E" & Rows.Count).End(xlUp).Offset(1).Select
Thanks a lot guys.