Supercharge your PowerPoint productivity with

Supercharge your PPT Productivity with PPTools - Click here to learn more.

Tell me about PPTools

Text is right to left, bullets appear on right of text


PPTools
Shape Styles brings the power of styles to PowerPoint. Apply complex formatting with a single click
Merge Excel, CSV or tab-delimited data into PowerPoint presentations to create certificates, awards presentations, personalized presentations and more
FixLinks prevents broken links when you distribute PowerPoint presentations
Optimizer saves disk space and bandwidth, shrinks your PowerPoint presentations to the right size for email, screenshow or printing
PPT2HTML gives you full control of PowerPoint HTML output, helps meet Section 508 accessibility requirements
Prep4PDF preserves interactivity in PowerPoint presentations when you convert to PDF
Image Export converts PowerPoint slides to JPG, PNG, GIF, WMF and more

Problem

If your presentation's bullets appear on the right side of the text and left justified text appears to be right justified instead, it may be that the presentation was created in English but on a system set to a language that uses right-to-left text (ie, Hebrew, Arabic, Japanese, Chinese, Korean).

Solution

If your system has support for one of these languages, you may see PowerPoint formatting options for changing the direction.

Even so, changing layout direction paragraph by paragraph can be quite tedious, and if you don't have these options available, you're stuck.

Or are you?

VBA to the rescue

While PowerPoint itself may not let you get at the settings you need, it'll let VBA in the back door. This little macro will quickly reset all the text in your presentation to Left-To-Right:

Sub ResetLeftToRight()

    Dim oSh As Shape
    Dim oSl As Slide

    ' make sure slide sorter reads left to right    
    ActivePresentation.LayoutDirection = ppDirectionLeftToRight

    ' then fix each of the text boxes
    For Each oSl In ActivePresentation.Slides
        For Each oSh In oSl.Shapes
            On Error Resume Next
            If oSh.HasTextFrame Then
                If oSh.TextFrame.HasText Then
                    WIth oSh.TextFrame.TextRange.ParagraphFormat
                         .TextDirection = ppDirectionLeftToRight
                    End With 
                End If
            End If
        Next    ' shape
    Next    ' slide

End Sub

Thanks to (newly minted PPT MVP as of early 2007) John Wilson for his help tracking this one down.

See How do I use VBA code in PowerPoint? to learn how to use this example code.


Page copy protected against web site content infringement by Copyscape Contents © 1995-2008 Stephen Rindsberg, Rindsberg Photography, Inc. and members of the MS PowerPoint MVP team. You may link to this page but any form of unauthorized reproduction of this page's contents is expressly forbidden.

Español    Deutsch    Français    Português    Italiano    Nederlands    Greek    Japanese    Korean    Chinese



Supercharge your PPT Productivity with PPTools


content authoring & site maintenance by
Friday, the automatic faq maker (logo)
Friday - The Automatic FAQ Maker

Text is right to left, bullets appear on right of text
http://www.pptfaq.com/FAQ00797.htm
Last update 03 May, 2007