Apply Font Formatting to PowerPoint Text Programatically

Posted by OneNerd on Stack Overflow See other posts from Stack Overflow or by OneNerd
Published on 2009-06-08T15:40:14Z Indexed on 2010/03/25 21:43 UTC
Read the original article Hit count: 710

I am trying to use VBA to insert some text into a PowerPoint TextRange, I use something like this:

ActiveWindow.Selection.SlideRange.Shapes("rec1").TextFrame.TextRange.Text = "Hi"

However, I can't figure out how to apply bold, italic and underline programatically (I don't see a .RichText property or something similar).

What I have is some simple HTML text with bold, italic and underlined text I would like to convert over.

Does anyone know how to do this?

© Stack Overflow or respective owner

Related posts about powerpoint

Related posts about vba