Created
March 24, 2014 16:32
-
-
Save turchinc/7a980ab0de0c4922ac03 to your computer and use it in GitHub Desktop.
VBA macro to change the language of all text frames on slides in a PowerPoint presentation.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub LangInFrames() | |
scount = ActivePresentation.Slides.Count | |
For j = 1 To scount | |
fcount = ActivePresentation.Slides(j).Shapes.Count | |
For k = 1 To fcount | |
If ActivePresentation.Slides(j).Shapes(k).HasTextFrame Then | |
ActivePresentation.Slides(j).Shapes(k).TextFrame.TextRange _ | |
.LanguageID = msoLanguageIDEnglishUK | |
End If | |
Next k | |
Next j | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment