Access/VBA Library

LanguageID

Returns the LanguagID of the installed PowerPoint version.

Syntax

LanguageID()
Return value

Long : The languageid of the current language.

Code
Public Function LanguageID() As Long
    LanguageID = Application_.LanguageSettings.LanguageID(msoLanguageIDUI)
End Function

PowerPointtag:PowerPoint
Example
  ' Dutch version installed?
  If LanguageID = 1043 Then
      UserForm1.Caption = "Dit is een bijschrift"
  Else
      UserForm1.Caption = "This is a caption"
  End if