amarokWPcom
New Member
- Joined
- May 30, 2019
- Messages
- 25
Dear Freidns,
I want to get the language code of the running Excel of the user.
So I put this code:
But after running the system answers with runtime error 5
Does anyone has an idea? I am running Excel 2013
Many thanks in advance.
I want to get the language code of the running Excel of the user.
So I put this code:
Code:
Sub scheisstest()
Dim LNG_USERLANGUAGE As Long
LNG_USERLANGUAGE = Application.LanguageSettings.LanguageID(msoLanguageIDUI)
'Worksheets("UI").Cells(45, 1).Value = LNG_USERLANGUAGE
End Sub
Does anyone has an idea? I am running Excel 2013
Many thanks in advance.
Last edited by a moderator: