![]() |
#1
|
|||
|
|||
![]()
hi, i have a looping action for each Sentence and for each paragraph. But i would like to loop through each Line. is this possible?
Code:
Public Sub ParseLines() 'SPLIT BY PARAGRAPHS Dim singleLine As Paragraph Dim lineText As String For Each singleLine In ActiveDocument.Paragraphs lineText = singleLine.Range.Text MsgBox lineText Next singleLine End Sub |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Sandy27 | Word VBA | 5 | 01-06-2014 03:48 PM |
![]() |
kilburfi | Word VBA | 2 | 07-12-2013 01:26 AM |
![]() |
Jennifer Murphy | Word VBA | 1 | 01-29-2013 03:30 AM |
![]() |
Yamaha Rider | Word VBA | 2 | 02-07-2012 05:33 PM |
![]() |
Nano07 | Word VBA | 2 | 11-02-2011 05:14 AM |