Hello,
thanks for help, but it does not work for me, unless I did not convert it correctly from VBA to C#:
Here is my converted piece of code:
Word.Range oRng1 = wordDocument.Bookmarks["start_from_here"].Range;
Word.Range oRng2 = wordDocument.Bookmarks["end_here"].Range;
Word.Range btwRange = wordDocument.Range(oRng1.End, oRng2.Start);
MessageBox.Show("Range between is " + btwRange.Text);
It flags as an error first line
Word.Range oRng1 = wordDocument.Bookmarks["start_from_here"].Range;
and it says "requested member of collection does not exist. And bookmark does exist as I can see it in document.
Anyway, thanks for trying.
First offered solution is using get_Item methos, but I simply do not have it in Visual Studio 2019.
Regards,