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
2008 TS Web Access: Expiring Password Reminder?
Mount new FAT partition in DOS without reboot?
Using If..Else in SQL Stored Procedure
rpd issues - The connection was lost due to a network error...
Most pages won't finish loading in multiple browsers on both xp and vista
Cannot use Microsoft Word to edit messages in Outlook 2003
How do I allow remote desktop connections through an ISA 2004 Server?
MS Access Report expression for data control source as first day of current month
CTreeCtrl in MFC
Exchange 2007 and iPhone IMAP problem