Advertisement
Guest User

Untitled

a guest
Jun 19th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. Option Explicit
  2. Public Sub ChangeSpellCheckingLanguage()
  3. Dim j As Integer, k As Integer, scount As Integer, fcount As Integer
  4. scount = ActivePresentation.Slides.Count
  5. For j = 1 To scount
  6. fcount = ActivePresentation.Slides(j).Shapes.Count
  7. For k = 1 To fcount
  8. If ActivePresentation.Slides(j).Shapes(k).HasTextFrame Then
  9. ActivePresentation.Slides(j).Shapes(k) _
  10. .TextFrame.TextRange.LanguageID = msoLanguageIDEnglishUK
  11. End If
  12. Next k
  13. Next j
  14. End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement