Emmily
Well-known Member
- Joined
- Oct 5, 2008
- Messages
- 676
Hi, i need a vba code that will look in Col A5:A, if no data is found under neath the header "Group" then delete entire row. The desired result is shown in the second screenshot
Excel Workbook | |||
---|---|---|---|
A | |||
5 | Group | ||
6 | BHO | ||
7 | BHO | ||
8 | BHO | ||
9 | BHO | ||
10 | |||
11 | Group | ||
12 | |||
13 | Group | ||
14 | RIO | ||
15 | RIO | ||
16 | RIO | ||
17 | |||
18 | Group | ||
19 | |||
20 | Group | ||
21 | |||
22 | Group | ||
23 | CBA | ||
24 | CBA | ||
25 | CBA | ||
26 | CBA | ||
Sheet1 |
Excel Workbook | |||
---|---|---|---|
A | |||
5 | Group | ||
6 | BHO | ||
7 | BHO | ||
8 | BHO | ||
9 | BHO | ||
10 | |||
11 | Group | ||
12 | RIO | ||
13 | RIO | ||
14 | RIO | ||
15 | |||
16 | Group | ||
17 | CBA | ||
18 | CBA | ||
19 | CBA | ||
20 | CBA | ||
21 | |||
Sheet1 |