How do you get the current page that i am reading??? in C#
From: EricA (eric_anacay_at_yahoo.com)
Date: 07/21/04
- Next message: Rob Stewart: "RE: Word error: The message filter indicated that the application"
- Previous message: Rob Stewart: "RE: Word error: The message filter indicated that the application"
- Messages sorted by: [ date ] [ thread ]
Date: 20 Jul 2004 18:08:58 -0700
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[i].Range.Text.ToString(); //displays the comment
itself oWordDoc.Comments[i].Author; //displays the author
oWordDoc.Comments[i].Index; //displays the index N
oWordDoc.Comments[i].Initial; //displays the initial }
----------- How do i get the current page where the current comment
my program is reading resides???
- Next message: Rob Stewart: "RE: Word error: The message filter indicated that the application"
- Previous message: Rob Stewart: "RE: Word error: The message filter indicated that the application"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|