E
EricA
I am working on these. a code that will get the comments in a word
document using c#.
Word.Document oWordDoc = oWordApp.Documents.Open(ref fileName,
ref missing,ref readOnly, ref missing,
ref missing, ref missing, ref missing,
ref missing, ref missing, ref missing,
ref missing, ref missing, ref missing,
ref missing, ref missing, ref missing);
for (int i = 1; i <= oWordDoc.Comments.Count; i++) {
oWordDoc.Comments.Range.Text.ToString(); //displays the comment
itself oWordDoc.Comments.Author; //displays the author
oWordDoc.Comments.Index; //displays the index N
oWordDoc.Comments.Initial; //displays the initial }
----------- How do i get the current page where the current comment
my program is reading resides???
document using c#.
Word.Document oWordDoc = oWordApp.Documents.Open(ref fileName,
ref missing,ref readOnly, ref missing,
ref missing, ref missing, ref missing,
ref missing, ref missing, ref missing,
ref missing, ref missing, ref missing,
ref missing, ref missing, ref missing);
for (int i = 1; i <= oWordDoc.Comments.Count; i++) {
oWordDoc.Comments.Range.Text.ToString(); //displays the comment
itself oWordDoc.Comments.Author; //displays the author
oWordDoc.Comments.Index; //displays the index N
oWordDoc.Comments.Initial; //displays the initial }
----------- How do i get the current page where the current comment
my program is reading resides???