Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Dan Corban
 
Posts: n/a
Default Sorting a table while keeping some related rows together

I have a table with two columns. The first column has names of items, each
item in its own row. I indent the items (using styles) if they are related to
the item directly above it. I want to sort this table, keeping the indented
item below the related item. I can't figure out how to do this. The indented
items just get sorted normally and end up separated from the related name.

An example of my table before sorting:
Lamp
Book
Moby Dick
Desk

When I sort, it looks like this:
Book
Desk
Lamp
Moby Dick

I want it to end up looking like this:
Book
Moby Dick
Desk
Lamp

Any idea how I can accomplish this (other than manually sorting)?

 
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ALT+SHIFT+Arrow shortcut to move table rows Nicola Tables 3 December 16th 04 09:58 PM
using vba to hide rows in a table Jan Tables 2 December 6th 04 12:40 PM
Row height problem with table in table Stephanie T. Tables 0 November 23rd 04 03:35 PM
include all cells in sorting table Howie J. Tables 1 November 14th 04 02:27 PM
Can Table AutoFormat apply formatting to multiple heading rows? aubreyco Tables 1 November 10th 04 05:02 PM


All times are GMT +1. The time now is 07:18 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"