How to OutlineLevel for a hierarchy

HalaYassin

New Member
Joined
Mar 3, 2017
Messages
1
Hi

I am trying to find a way to automatically outline a hierarchy in Excel (group rows)
I cannot find a code to do that either

For example:
[TABLE="width: 573"]
<tbody>[TR]
[TD]Code[/TD]
[TD]Item[/TD]
[TD]Rollup[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]A[/TD]
[TD]Title[/TD]
[/TR]
[TR]
[TD]1.1[/TD]
[TD]B[/TD]
[TD]Subtitle Level 1[/TD]
[/TR]
[TR]
[TD]1.1.1[/TD]
[TD]C[/TD]
[TD]Compare[/TD]
[/TR]
[TR]
[TD]1.2[/TD]
[TD]D[/TD]
[TD]Subtitle Level 1[/TD]
[/TR]
[TR]
[TD]1.2.1[/TD]
[TD]E[/TD]
[TD]Subtitle Level 2[/TD]
[/TR]
[TR]
[TD]1.2.1.1[/TD]
[TD]F[/TD]
[TD]Compare[/TD]
[/TR]
[TR]
[TD]1.2.1.2[/TD]
[TD]G[/TD]
[TD]Compare[/TD]
[/TR]
[TR]
[TD]1.2.1.3[/TD]
[TD]H[/TD]
[TD]Compare[/TD]
[/TR]
</tbody><colgroup><col span="3"></colgroup>[/TABLE]


I would like to be able to open code 1, then to see 1.1 and 1.2. From there I would like to open that to see the levels below

Not sure if I am expressing myself correctly

Thank you so much for your help
 

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top