用selection选定一个范围,比如说两个书签之间的所有内容,
就像执行了鼠标选定范围的操作一样

解决方案 »

  1.   

    http://msdn.microsoft.com/library/chs/default.asp?url=/library/CHS/dv_wrcore/html/wrtskhowtodefineselectrangesindocuments.asp
      

  2.   

    internal void BookMarkReplaceRange(string bookName, string newText) 

        object missingValue = Type.Missing; 
        object oBookName = bookName; 
        Word.Range rng = ThisDocument.Books.get_Item(
            ref oBookName).Range; 
        rng.Text = newText; 
        object oRng = rng; 
        ThisDocument.Books.Add(bookName, ref oRng); 
    }