Assuming you're using VSTO, since you gave us zero actual details on
the situation here?

Try this:

            Word.Selection curSel =
Globals.ThisDocument.Application.Selection; //make sure you have a
selection or active cursor, you can select it however you'd like, just
make sure you have an active document and active cursor

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

Next time: RTFM, and GIYF

∞ Andy Badera
∞ +1 518-641-1280
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=andrew%20badera



On Sat, Sep 19, 2009 at 6:55 AM, Ranjith <[email protected]> wrote:
>
> I have created a word document in c#.NET. But i don't know how to
> write bold letters to it. I also want to know how to change all the
> styles like underline,italics,color,font,font-size,etc.
> Anybody please help me to solve this problem.....???
> Thank You
>

Reply via email to