How Calculate Page No. where Endnotes is appearing in word.
How Calculate Page No. where Endnotes is appearing in word document.?
what I tried below
int nSection = endnote.Range.Information[WdInformation.wdActiveEndSectionNumber];
int Pgno = Doc.Sections[nSection].Range.Information[WdInformation.wdActiveEndAdjustedPageNumber]
But that are not working properly.
Plese help me.