dancingdata
New Member
- Joined
- Aug 18, 2017
- Messages
- 6
Hello,,
I am trying to create an outline numbering list from a data table which look like below:
[TABLE="width: 173"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]# of Criteria[/TD]
[TD]Numbering Category[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]1.1[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]1.2[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]1.3[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]2.1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Result to be as follow:
4 1.1 1.1.1
4 1.1 1.1.2
4 1.1 1.1.3
4 1.1 1.1.4
3 1.2 1.2.1
3 1.2 1.2.2
3 1.2 1.2.3..etc
Can you help with a VBA code that can automate this process? Basically I need the VBA to insert new cells based on the number of criteria then generate the numbering for each numbering category.
Appreciate your support.
I am trying to create an outline numbering list from a data table which look like below:
[TABLE="width: 173"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]# of Criteria[/TD]
[TD]Numbering Category[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]1.1[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]1.2[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]1.3[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]2.1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Result to be as follow:
4 1.1 1.1.1
4 1.1 1.1.2
4 1.1 1.1.3
4 1.1 1.1.4
3 1.2 1.2.1
3 1.2 1.2.2
3 1.2 1.2.3..etc
Can you help with a VBA code that can automate this process? Basically I need the VBA to insert new cells based on the number of criteria then generate the numbering for each numbering category.
Appreciate your support.