TextRange.RtlRun Method (PowerPoint)
Sets the direction of text in a text range to read from right to left.
expression A variable that represents a TextRange object.
This method makes it possible to use text from both left-to-right and right-to-left languages in the same presentation.
The following example finds all of the shapes on slide one that contain text and changes the text to read from right to left.
ActiveWindow.ViewType = ppViewSlide For Each sh In ActivePresentation.Slides(1).Shapes If sh.HasTextFrame Then sh.TextFrame.TextRange.RtlRun End If Next
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.