Question : VBA Powerpoint 2003/2007 - Align text inside a textbox/Shape

Got this code:
Dim s As Slide
Set s = ActivePresentation.Slides.Add(1, ppLayoutBlank)
Dim t As Shape
Set t = s.Shapes.AddTextbox(msoTextOrientationHorizontal, 10, 10, 100, 100)

t.TextFrame.TextRange.Text = "asd"

Now i want to align the text inside the textbox to the left (default is center).
Any ideas, i am totally lost.

Answer : VBA Powerpoint 2003/2007 - Align text inside a textbox/Shape

Found the solution:
t.TextFrame.TextRange.ParagraphFormat.Alignment = ppAlignLeft
Random Solutions  
 
programming4us programming4us