PDA

View Full Version : Solved: Split bullets in textframe



CodeNinja
07-10-2013, 09:45 AM
I have a PP slideshow that has the following format:


textmore text

text
all in one shp.TextFrame.TextRange. If I change shp.textframe.textrange.paragraphformat.bullet.type to 1 I get all 3 lines with a bullet. How can I split up those bullets?

Many Thanks,

Codeninja.

John Wilson
07-10-2013, 10:17 AM
You need to start by saying which version of PowerPoint.
But you could try

With ActivePresentation.Slides(1).Shapes(2).TextFrame.TextRange
.Paragraphs(1).ParagraphFormat.Bullet.Type = msoBulletUnnumbered
.Paragraphs(2).ParagraphFormat.Bullet.Type = msoBulletNone
.Paragraphs(3).ParagraphFormat.Bullet.Type = msoBulletUnnumbered
End With

CodeNinja
07-10-2013, 11:42 AM
John,
Thank you so much for your perfect answer. I have been fooling around with lines etc and could not figure this out. Actually, the first time I tried, it did not work, but then I changed the vb line feeds (VbLf) to vb line feed plus carriage return (VbCrLF) and it works perfectly.

Thank you so much,

CodeNinja / Josh.