badrhino
asked on
Align-right text in PowerPoint table VBA
Currently I'm using VBA to add a table and populate it (connecting to database). Everything works perfect. However, I need to align right the text in the cells and I haven't been able to find out how to do this. Obviously It works just find if I find the align right button on the ribbon, but I need to do this using vba. I can find out how to center it, but not right align. Currently this is what I have:
With .Cell(iRow, iColumn).Shape.TextFrame
'.VerticalAnchor = msoAnchorMiddle
.HorizontalAnchor = msoAnchorCenter
End With
Any Ideas?
With .Cell(iRow, iColumn).Shape.TextFrame
'.VerticalAnchor = msoAnchorMiddle
.HorizontalAnchor = msoAnchorCenter
End With
Any Ideas?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Works Perfect. Thanks!
Open in new window