M
mohsenb55
Hi, In order to insert a comment you need to highlight a character and then
insert a comment. When I create the document, also I am insert a lots of
comments and text for the comments. The text is a reference to my data
source. I am opening a document in C# and the document and accessing the
comments. I am using the comment as a reference to my data source. I get the
collection of comments by using
foreach (Word.Comment comment in WordDoc.Comments)
{
comment.Reference.InsertBefore("Value" + Mydata.ToString());
}
and replace my data in the referenced location but I also want to remove the
highlighted text from the document.
Can any one knows how to do this?
Thank you in advance.
insert a comment. When I create the document, also I am insert a lots of
comments and text for the comments. The text is a reference to my data
source. I am opening a document in C# and the document and accessing the
comments. I am using the comment as a reference to my data source. I get the
collection of comments by using
foreach (Word.Comment comment in WordDoc.Comments)
{
comment.Reference.InsertBefore("Value" + Mydata.ToString());
}
and replace my data in the referenced location but I also want to remove the
highlighted text from the document.
Can any one knows how to do this?
Thank you in advance.