Do not use on any
shared computer
August 30, 2008 12:09am pdt
 
[x]
Attachment Details

macro to automatically alphabetize words inside a paragraph

Tags: microsoft, office, 2003, alphabetize words inside a paragraph
yeah that's right I want to alphabetize words inside a paragraph.  The catch?  the words are not your normal words - they are gobledi gook.... like "lkj209-vjf2jk, asldkfj09u2lknfp0, and lkwsdflsjfd-ij23" although not really - it's a for a programming project (no not my homework, this is actual work work), and the above is only an example.

the words ONLY have numbers, letter, and dashes.  The words are separated by a comma or some other punctuation, period in some cases...  

in the above example, the Asld.. would go first... the lkj would go second, and the lkw would go third... (so only one full replacement would occur, between the first and second entries, out of three)

In my paragraphs, there are about ten entries, so no need to go max-space on this...

One problem you might have, is conducting the alphabetizing only on a particular portion of the document... in the above example (and in my particular case) - I only want to conduct the alphabetizing step on a single paragraph...

For ease, lets just assume it's the second paragraph...  so somehow the macro needs to do the activity only for words inside the second paragraph, and stop processing when it reaches the end of that paragraph.

Thanks in advance for your help!
Start your free trial to view this solution
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

Question Stats
Zone: Software
Question Asked By: ikelw
Solution Provided By: byundt
Participating Experts: 3
Solution Grade: A
Views: 9
Translate:
Loading Advertisement...
 
[+][-]Assisted Solution by burrcm
Assisted Solution by burrcm:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Accepted Solution by byundt

Rank: Guru

Accepted Solution by byundt:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Assisted Solution by aikimark

Rank: Guru

Assisted Solution by aikimark:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Author Comment by ikelw
Author Comment by ikelw:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Expert Comment by aikimark

Rank: Guru

Expert Comment by aikimark:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Expert Comment by byundt

Rank: Guru

Expert Comment by byundt:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Expert Comment by aikimark

Rank: Guru

Expert Comment by aikimark:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
20080723-EE-VQP-34 / EE_QW_2_20070628