Sorting problem with Windows Word 2003
Question: I have a Microsoft Word 2003 document that is formated like a dictionary. The entries are various in words and abbreviations. The format of the entries in the document is like those words found in the Random House Webster’s Unabridge Dictionary. The entries are not sorted. I would like to sort the entries in accordance with the initial highlighted word. How can I do this?
Answer: The problem here is that Windows Word can not figure out how to sort your text. It’s not tabular so you can’t sort the columns. And sorting by paragraph wont work either because that would separate the individual lines of each entry. What you’ll have to do is reformat the text so that each entry is a single paragraph. Right now each line ends with a hard carriage return, making each line its own paragraph. You need to replace all but the terminating carriage return with a “new line” charater that starts a new line but doesn’t end the paragraph.
You need to retain the double carriage returns that represent the blank lines between entries. To do this, use Find/Replace to replace ^p^p with a marker string that appears nowhere in the document, for example, #$%. Next, use Find/Replace to replace ^p with ^l. This replaces the hard carriage return at the end of each line with a new-line character. Use find/Replace once more, this time to replace #$% with ^p. Now each entry is a separate paragraph. Select Table | Sort from the menu and perform a simple paragraph-based sort.
At this point your dictionary entries will be in sorted order, but they wil have lost some of the formatting.
Press Ctrl+A to highlight all the text. select Format | Paragraph from the menu. Set a hanging index to define the indentation for all lines after the first line in each paragraph.
You now have a document that closely resembles your original, except that it can be sorted now. When you add a new definition, remember to press Shift-Enter (this inserts a new-line character) at the end of all lines except the very last one in the definition.
Spread the word
del.icio.us Digg Furl Reddit Ask BlinkList blogmarks Google Ma.gnolia RawSugar Rojo Shadows Simpy Socializer Spurl Wists Yahoo!
