offisync corp
Posts: 52
Joined: 2009-08-27
|
I'm developing an addin for Word where i need to show comment that are written in the document (from Review menu).
The problem is that I don't want to show the "tracked" changes in the document.
When i modify the Document.ShowRevision property, both comments and tracked changes are shown / hidden.
I know that i can do this via UI by using the "Review -> Show Markup" menu and deselecting all but the "Comments" option but i couldn't find this in the API of the Word Interop dll.
Any ideas? |
|
Andrei Smolin
Add-in Express team
Posts: 18823
Joined: 2006-05-11
|
Hi Lev,
I've recorded the following macro in Word 2007:
Sub Macro1()
'
' Macro1 Macro
'
'
With ActiveWindow.View
.ShowRevisionsAndComments = False
.RevisionsView = wdRevisionsViewFinal
End With
WordBasic.ShowMarkupArea
WordBasic.ShowFormatting
WordBasic.ShowInsertionsAndDeletions
WordBasic.ShowInkAnnotations
End Sub
Andrei Smolin
Add-in Express Team Leader |
|