try
{
Word.Document document = (Word.Document) dsoWord.ActiveDocument;
foreach (Word.Comment var in document.Comments)
{
var.Scope.Text = "Replace the value of the annotated body";
//var.Range.Text = textBox1.Text; // Replace the comment value
}
document.Save ();
}
catch (Exception)
{
MessageBox.Show (this, "Replacement value failed!", "Error", MessageBoxButtons. OK, MessageBoxIcon.Error);
}