recognizing revision marks

L

Larry

Can VBA recognize the difference between revision marks that are newly
inserted text and revision marks that are crossed-out old text?

Thanks,
Larry
 
D

DA

Hi Larry

If you're referring to deleted text under the Track
Changes feature, then - yes there is a property that
returns the value. For example:

'---------
If ActiveDocument.Revisions(1).Type = wdRevisionDelete _
Then MsgBox "First revision is deleted text"
'---------

If you need to, check your other wdRevision enumerations
in your VBA help for other revision types.

Hope that helps,
Dennis.
 
L

Larry

That's it. Thank you.

Larry



Hi Larry

If you're referring to deleted text under the Track
Changes feature, then - yes there is a property that
returns the value. For example:

'---------
If ActiveDocument.Revisions(1).Type = wdRevisionDelete _
Then MsgBox "First revision is deleted text"
'---------

If you need to, check your other wdRevision enumerations
in your VBA help for other revision types.

Hope that helps,
Dennis.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top