View Single Post
 
Old 08-27-2019, 08:05 AM
scienceguy scienceguy is offline Windows 10 Office 2016
Advanced Beginner
 
Join Date: Feb 2019
Posts: 46
scienceguy is on a distinguished road
Default Ignore Table and Table Caption For Revisions

Hello,

I am working on an application in Word vba, whereby I am extracting the revisions to a document after using Word's "track changes" feature. However, as I pull out the revisions, I want to omit tables and table captions. I figured out to omit the tables, but I can't figure out how to omit the table captions. Here is the code snippet I have so far:

Code:
For i = 1 To wdDoc.Paragraphs.Count
        If Not wdDoc.Paragraphs(i).Range.Information(wdWithInTable) Then

		'process revisions

	End if
Next i
Thank you in advance for any help!

Roy
Reply With Quote