Dear all
How i can write to log file with line Position, Date and altered text when i have done some alterations on an existing document.
can anyone tell me about this.
on which event of document i should use.
Regards
nagarjuna
Printable View
Dear all
How i can write to log file with line Position, Date and altered text when i have done some alterations on an existing document.
can anyone tell me about this.
on which event of document i should use.
Regards
nagarjuna
Tools > Options > Track Changes tab > aand make any modifications to the settings you want. Then ...
Is about as close as you can get.VB Code:
ActiveDocument.TrackRevisions = True
ok. i want to display what are the chnages done on the document. i would like to capture the TIME, DELETED or INSERTED CONTENT. and the POSITION of the change.
Thank you
Then whatever options you have set for those markups, you would do a .ind on the document for each of those items by markup and/or color/font styles, etc. you will need to have show revisions enabled so they show up in the document.
I have set the track Changes,
i dont want to highligt the changes done on the document.
i dont want to dispaly the deleted text, i want to hide it.
How can i do it from vb code.
i used the ActiveWindow.view.ShowHighlight = True
Even i am able to View.
Regards
Nagarjuna
Ok, then this should get you started in iterating through the Revisions collection. You can do what ever you want with the items. Write to file, set to a variable, etc.
VB Code:
Application.Documents(1).Revisions.Item(1).Range.Text
Dear
Thanks for ur Sugessions
I got the solution.
To hide track changes we used
ActiveDocument.ShowRevisions = False
and to accept the all Document Revisions
ActiveDocument.Revisions.AcceptAll
Thank u
nagarjuna
but i am not able get the revisions in the tables. I am using MS word 2000 and vb6.
How can i get the track changes in the tables also?