Microsoft
Software
Hardware
Network
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(msoTex
tOrientati
onHorizont
al, 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.Para
graphForma
t.Alignmen
t = ppAlignLeft
Random Solutions
How to create a Second Global Address List in exchange 2007
Input masks for numerical data?
Quotation marks and # signs around variable dates and date parts
Auto-updating a view-based subform
Exporting Access Report as PDF with a unique name
Default buton of login control in usercontrol
Exchange Offline Defrag Not Freeing Up Space
How to wait for a chart in a form to fully load before proceeding with code
Access VBA: Getting Record Count
CRYPT32 EVENT ID 11