View Single Post
  #6   Report Post  
Dan Corban
 
Posts: n/a
Default

I tried your method and it does not work for me. All hidden rows simply get
sorted to the top of the table.

Maybe I am missing a key step to your method, but this is what I did:
Show/Hide is off.
Select the entire row.
Go to Font properties and select "hidden".
Select Table - Sort and sort as I normally do.
Turn Show/Hide on.

I tried several variations of your method and the end result is always the
hidden rows sort to the top. I am using Word 2002. Maybe the hidden sort
behavior is different in another version?


"Klaus Linke" wrote:


Format the rows that should sort along with the previous row as "hidden", and set the view to not show hidden text.
If you sort now, the hidden rows will just move along with the preceeding visible rows.

In your case, it shouldn't be too hard to write a macro that loops all rows, checks for indents, and hides the row if it finds an
indent.