wrightlefty
Technical User
I would like to know if there is a way to have Excel automatically group rows based on a Level Number. For instance, in the example below Excel would group everything from Rows 2-7 under Row 1, Rows 5-6 would be grouped under Row 4. You can manually do this using:
Data -> Group and Outline -> Group
However, I would like to have a macro or VB script that would do this automatically.
Row Level
1 1
2 2
3 2
4 2
5 3
6 3
7 2
8 2
Data -> Group and Outline -> Group
However, I would like to have a macro or VB script that would do this automatically.
Row Level
1 1
2 2
3 2
4 2
5 3
6 3
7 2
8 2