I've tried for a few hours but have failed to accomplish what I am after so any help would be greatly appreciated PLEASE.
Here's the data that I am working with (details follow after the table):
<tbody>
</tbody>
The first row is the header row.
I am trying to write a macro that;
Worth mentioning:
The data will always be sorted by Column A beforehand.
There may be 100s of rows involved with hundreds of unique values in Column A so values cannot be hardcoded in the macro (need to be dynamic)
Here's the data that I am working with (details follow after the table):
Activity Code | Description | ||
<tbody> </tbody> | T100 | ||
Boston_Corporate | T2EQ | ||
<tbody> </tbody> | T2w | ||
Oahu_PVP | T3q | ||
Oahu_PVP | T585 | ||
Oahu_PVP | T6qw | ||
Oahu_PVP | T7w | ||
<tbody> </tbody> | T8ty | ||
<tbody> </tbody> | T9af | ||
<tbody> </tbody> | T10855 |
<tbody>
</tbody>
The first row is the header row.
I am trying to write a macro that;
- Searches for the first UNIQUE value in Column A (it's Boston_Corporate right now) and then add a blank row after that.
- Searches for the second UNIQUE value in Column A (it's Oahu_PVP right now) and then add a blank row after that.
- Searches for the third UNIQUE value in Column A (it's Overhead_General right now) and then add a blank row after that.
- The macro continues to do so until it has 'actioned' all unique values in Column A
Worth mentioning:
The data will always be sorted by Column A beforehand.
There may be 100s of rows involved with hundreds of unique values in Column A so values cannot be hardcoded in the macro (need to be dynamic)