c# - Selecting text between two Word bookmarks -
i'm trying figure out how programmatically (c#, office 2010 project in visual studio) select text between 2 bookmarks excluding bookmarks themselves. have feeling should easy googling skills letting me down!
thank you!
this worked me, easy enough!
object start = globals.thisdocument.bm1.start + 1; object end = globals.thisdocument.bm2.start - 1; range r = globals.thisdocument.range(ref start, ref end);
Comments
Post a Comment