title: Change default text direction in a powerpoint presentation using VBA
body: <p>I use the Powerpoint Object-Model to programmatically create a presentation in PowerPoint 2007.</p>
  
  <p>Some of the computers on which I run my program have PowerPoint set with Hebrew as the Primary Editing Language.
  (to change the primary language, push the "Office" button, then "Powerpoint options", and go to Popular->Language Settings->Primary Editing Language)</p>
  
  <p>On these computers, when I run my program, all the text in the created presentation (wrongly) appears right-justified and the bullets appear to the right of the text.</p>
  
  <p>I could fix this by editing the ppt/presentation.xml in the resulting presentation PPTX file.  I adjust the Alignment and RightToLeft properties in the "Default Text Styles" for each bullet level. However, XML editing is not a good option for this project.</p>
  
  <p>How can I change the default text direction in a presentation using the Object Model (i.e., VBA), besides changing each TextBox individually?</p>
  
  <hr>
  
  <p>Thanks for the suggestions,</p>
  
  <p>What I tried:</p>
  
  <p>I performed <code>Application.Presentations(1).LayoutDirection = ppDirectionLeftToRight</code>, which changes the direction of the PowerPoint user-interface. I also changed <code>Application.Presentations(1).LanguageID</code>  to US English.
  Unfortunately, doing these things did not solve the problem of the right-to-left text in the created presentation.</p>
  
  <p>So finally I gave up on changing the parameters for the Presentation itself and indeed directly changed <code>ParagraphFormat.TextDirection</code> and <code>ParagraphFormat.Alignment</code> for each <code>Run</code> of each TextBox which I initially tried to avoid, and naturally this had the desired effect.</p>