WordBasic how to Remove comments using MFC OLE automation.

M

murugan U

Hi All,
i am working with MFC word automation. i want to find and
remove some comments from word document. i recorded the following
macro. i want to convert this in VC++ automation

The VB macro for Nextchange and remove comments.
WordBasic.NextChangeOrComment
ActiveWindow.Panes(2).Activate
WordBasic.NextChangeOrComment
WordBasic.RejectChangesSelected
WordBasic.NextChangeOrComment
ActiveWindow.Panes(2).Activate
WordBasic.NextChangeOrComment

Can someone help me out here??Please let me know if this is possible.
Appreciate your
time..

And also i found the link. how to use word Basic object for printing.
http://support.microsoft.com/kb/252719

Thanks,
Murugan U
 
Top