End-of-Line vs. End-of-Paragraph 
Author Message
 End-of-Line vs. End-of-Paragraph

Using VBA with Word 97, how is it possible to read/scan/detect where
automatic line breaks occur in a paragraph? My goal is to convert all
automatic line breaks into paragraph breaks.

In WordPerfect this is easily accomplished by searching for soft-returns
(SRt) and replacing them with hard-returns (HRt). Any suggestions?

Jeffrey Parke



Sun, 12 May 2002 03:00:00 GMT  
 End-of-Line vs. End-of-Paragraph
Hi Jeffrey,

One way to do this is to save your file using the Text Only with Linebreaks
filter.

--
Bill Coan
Microsoft Word MVP
Neenah WI 54956 USA
http://www.wordmacros.com
. . .

Quote:
> Using VBA with Word 97, how is it possible to read/scan/detect where
> automatic line breaks occur in a paragraph? My goal is to convert all
> automatic line breaks into paragraph breaks.

> In WordPerfect this is easily accomplished by searching for soft-returns
> (SRt) and replacing them with hard-returns (HRt). Any suggestions?

> Jeffrey Parke



Sun, 12 May 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Richtextbox: How can I indent the second line upto the end of the paragraph

2. Remove spaces at end of paragraphs

3. Inserting a paragraph at end of document?

4. Front End: VB vs InstallShield vs Visual Cafe?

5. vba line input not recognizing end of line

6. Compile Error: End if without block end if

7. A2k: Controlling a back-end MDB from its FRONT-end MDB

8. A2K Updating Back End with new fields from Front End

9. Compact the back-end data from the front-end

10. Corrupted back end corrputs all front ends!

11. Splitting db in front end and back end

12. mde's and F-end/B-end

 

 
Powered by phpBB® Forum Software