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
 

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