Advertisement

06.28.2008 at 04:55AM PDT, ID: 23523787
[x]
Attachment Details

Word Macro to Sort Paragraphs in a Document on the Basis of Text in the Last Line of the Paragraph

Asked by FaheemAhmadGul in Visual Basic Programming, Microsoft Word

Tags: Visual Basic For Applications, Visual Basic

I need help in writing a Word Macro that will sort all the paragraphs in a document on the basis of the text in the last line of the paragraph. The paragraphs in my documents have multiple manual line breaks  ( ^l ) and the last line in the Paragrah is alway created by a Manual Line Break. I attach a sample word document which has the kind of paragraphs that I would need to sort.
Thanks in anticipation for your help. Start Free Trial
Attachments:
 
A sample word document which has the kind of paragraphs that I would need to sort
 
[+][-]06.28.2008 at 06:18AM PDT, ID: 21890810

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Visual Basic Programming, Microsoft Word
Tags: Visual Basic For Applications, Visual Basic
Sign Up Now!
Solution Provided By: GrahamSkan
Participating Experts: 1
Solution Grade: A
 
 
[+][-]06.28.2008 at 07:08AM PDT, ID: 21890953

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628