Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
PowerPoint Macro to switch language of document to en-CA
Option Explicit
Public Sub ChangeSpellCheckingLanguage()
Dim j As Integer, k As Integer, scount As Integer, fcount As Integer
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
' List of available LanguageID values at
ActivePresentation.Slides(j).Shapes(k) _
.TextFrame.TextRange.LanguageID = msoLanguageIDEnglishCanadian
End If
Next k
Next j
End Sub

This comment has been minimized.

Copy link
Owner Author

@lucasrizoli lucasrizoli commented Feb 23, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.