VBA to delete all indents (1 Viewer)

tmyers

Well-known member
Local time
Today, 02:44
Joined
Sep 8, 2020
Messages
1,090
Once again I am bouncing between Access, Excel and Smartsheets and can't seem to keep anything straight in my head.

Is there a quick and dirty method to delete child/indented (I think in Excel terms, its grouped rows?) rows in excel? I seen range.indentlevel but that does not appear to be what I am after. I am dealing with a sheet that has several thousand rows, but a large chunk of them are child/collapsed rows that don't have any pertinent data and I would like to remove them if possible.
 

Minty

AWF VIP
Local time
Today, 07:44
Joined
Jul 26, 2013
Messages
10,368
This will do what you want;
 

tmyers

Well-known member
Local time
Today, 02:44
Joined
Sep 8, 2020
Messages
1,090
This will do what you want;
I just found that myself once I remembered the correct term was group. Its so hard to keep all the terminology right from one thing to another.
 

Users who are viewing this thread

Top Bottom