![]() |
#1
|
|||
|
|||
![]()
I have the following code. So its able to locate each sentence, but now I want to place the sentence in its own line. Not sure what to add to this VBA code to do that. thanks for any help.
Code:
Public Sub ParseDoc() Dim doc As Document Dim paras As Paragraphs Dim para As Paragraph Dim sents As Sentences Dim sent As Range Set doc = ActiveDocument Set paras = doc.Paragraphs For Each para In paras Set sents = para.Range.Sentences For Each sent In sents 'place sentence in its own line Next Next End Sub The Securities Exchange Act of 1934 was the second major piece of legislation. It resulted from the market crash of 1929. The Securities Exchange Act of 1934 regulates the secondary market. It consists of investor-to-investor transactions. All transactions between two investors that are executed on any of the exchanges. The over-the-counter (OTC) market are secondary market transactions. AFTER The Securities Exchange Act of 1934 was the second major piece of legislation. It resulted from the market crash of 1929. The Securities Exchange Act of 1934 regulates the secondary market. It consists of investor-to-investor transactions. All transactions between two investors that are executed on any of the exchanges. The over-the-counter (OTC) market are secondary market transactions. |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
MS word 2007, capital letter after number (1. place turn to 1. Place) | enzo321 | Word | 1 | 10-23-2016 06:19 AM |
sentence/line spacing.. | rynegold | Word | 2 | 11-19-2014 12:36 AM |
![]() |
Andoheb | Word | 29 | 07-03-2014 01:48 PM |
![]() |
anurag.butoliya | Word | 1 | 06-14-2014 06:27 PM |
![]() |
AdvanceTheMan | Word VBA | 1 | 04-20-2012 08:18 PM |