Hi
If I am processing a word document *one* paragraph at time (as I need to format the input text and produce different output), is there any way I can pickup the *whole* table and continue processing after it?
For example
Thanks.
Robie
finding a table when processing paragraph at a time
-
- 5StarLounger
- Posts: 656
- Joined: 18 Feb 2010, 14:26
finding a table when processing paragraph at a time
You do not have the required permissions to view the files attached to this post.
-
- Administrator
- Posts: 12650
- Joined: 16 Jan 2010, 15:49
- Location: London, Europe
Re: finding a table when processing paragraph at a time
Code: Select all
For Each para In ActiveDocument.Content.Paragraphs
If Not para.Range.Information(wdWithInTable) Then
' Do your processing here
End If
Next para
StuartR
-
- 5StarLounger
- Posts: 656
- Joined: 18 Feb 2010, 14:26
Re: finding a table when processing paragraph at a time
Thank you Stuart.StuartR wrote:Code: Select all
For Each para In ActiveDocument.Content.Paragraphs If Not para.Range.Information(wdWithInTable) Then ' Do your processing here End If Next para