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

Popular posts from this blog

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Automatically create pages in phpfox -

c# - Farseer ContactListener is not working -