J
Jean-Guy Marcil
Hi all,
I need to know the Windows Interface language (Not the language users can
set through the Control Panel in the regional settings).
The goal is to create a Word document that will ask the user to fill out
some info through a userform, and then save it as an HTML document in the
appropriate folder so that the HTML document will appear in the Outlook
stationery list.
Will
Public Declare Function GetUserDefaultUILanguage Lib "kernel32" () As
Long
return the OS language?
If so, I can do something like:
If GetUserDefaultUILanguage = 1033 Then 'English
SavePath = Environ$("userprofile") & "\Application
Data\Microsoft\Stationery\"
Else
SavePath = Environ$("userprofile") & "\Application Data\Microsoft\Papier
à Lettres\"
End If
--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
I need to know the Windows Interface language (Not the language users can
set through the Control Panel in the regional settings).
The goal is to create a Word document that will ask the user to fill out
some info through a userform, and then save it as an HTML document in the
appropriate folder so that the HTML document will appear in the Outlook
stationery list.
Will
Public Declare Function GetUserDefaultUILanguage Lib "kernel32" () As
Long
return the OS language?
If so, I can do something like:
If GetUserDefaultUILanguage = 1033 Then 'English
SavePath = Environ$("userprofile") & "\Application
Data\Microsoft\Stationery\"
Else
SavePath = Environ$("userprofile") & "\Application Data\Microsoft\Papier
à Lettres\"
End If
--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org