how to get deleted tracks in word using c#?

A

Afzal Khan

In need program which will get all deleted/modified track changes text from
compare document
 
J

Jean-Guy Marcil

Afzal Khan was telling us:
Afzal Khan nous racontait que :
In need program which will get all deleted/modified track changes
text from compare document

This is a VBA group.

You should try to get it going using VBA.
Come back with specific question regarding VBA to help you build the
program.

'_______________________________________
See the follwong code to get you going
Dim revCheck As Revision
Dim strTextRev As String

Set revCheck = Selection.NextRevision
If Not (revCheck Is Nothing) Then
Select Case revCheck.Type
Case wdRevisionDelete, wdRevisionInsert, wdRevisionReplace
'Do something with the text, like
strTextRev = strTextRev & revCheck.Range.Text & "|"
End Select
End If
'_______________________________________

Then, when you have something working in VBA, you can port it to C#, maybe
posting in a C# group for help.

--

Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 
A

Afzal Khan

By using this code I am able to read revisions in document but when revision
in table unable to move to next revision?
 

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