nparsons75
Well-known Member
- Joined
- Sep 23, 2013
- Messages
- 1,254
- Office Version
- 2016
Hi, is it possible, with a macro, to sort a list in a table and then seperate the list by data in one column.
For example,
<tbody>
</tbody>
Taking the data above I would like a button to run a macro that will sort the data by column A and then seperate the list by a dividing row between groups. See example below.
In between each of the grouped items I would need a row that has a colour fill to seperate them visually. Would this even be possible? Thanks in advance.
<colgroup><col width="80" style="width:60pt" span="4"> </colgroup><tbody>
</tbody>
For example,
MACHINE | ITEM | QTY | DATE |
001 | CAR | 5 | 16/7/17 |
002 | BUS | 1 | 16/7/17 |
009 | PLANE | 2 | 16/7/17 |
004 | BOAT | 5 | 16/7/17 |
001 | SHIP | 7 | 16/7/17 |
002 | BIKE | 3 | 16/7/17 |
009 | CYCLE | 1 | 16/7/17 |
004 | PLANE | 1 | 16/7/17 |
006 | BIKE | 9 | 16/7/17 |
004 | SHIP | 3 | 16/7/17 |
006 | CAR | 4 | 16/7/17 |
<tbody>
</tbody>
Taking the data above I would like a button to run a macro that will sort the data by column A and then seperate the list by a dividing row between groups. See example below.
In between each of the grouped items I would need a row that has a colour fill to seperate them visually. Would this even be possible? Thanks in advance.
<colgroup><col width="80" style="width:60pt" span="4"> </colgroup><tbody> </tbody> |
<colgroup><col width="80" style="width:60pt" span="4"> </colgroup><tbody>
</tbody>