Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / December 2007

Tip: Looking for answers? Try searching our database.

how to get deleted tracks in word using c#?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Afzal Khan - 22 Nov 2007 07:53 GMT
In need program which will get all deleted/modified track changes text from
compare document
Jean-Guy Marcil - 26 Nov 2007 21:06 GMT
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.

Signature

Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org

Afzal Khan - 01 Dec 2007 10:52 GMT
By using this code I am able to read revisions in document but when revision
in table unable to move to next revision?

> Afzal Khan was telling us:
> Afzal Khan nous racontait que :
[quoted text clipped - 25 lines]
> Then, when you have something working in VBA, you can port it to C#, maybe
> posting in a C# group for help.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.