VSTO: How to add text after a bookmark in Word with different formating within the text?

I typically use range to swap out text when needed. Try using Application.Selection.

I typically use range to swap out text when needed. Try using Application. Selection: Word.

Selection curSel = Application. Selection; curSel. TypeText("Type Some Text"); In your case, try this: Word.

Selection curSel; int endOfRange = previousRange. End + 1; curSel. SetRange(endOfRange, endOfRange); curSel.Font.

Bold = 1; curSel. TypeText(" world! "); curSel.Font.

Bold = 0; curSel.TypeParagraph().

Works perfectly and seems cleaner codewise too, thanks! – olle Jul 9 '09 at 10:27.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions