Internationalize forms in excel vba -
in excel file have macro's use forms. want labels, buttons, etc translated depending on user language. guess there not resource files in .net
but i'm not sure best option translation. ideas?
to current user language:
application.languagesettings.languageid(msolanguageidui)
this return locale id based on current user's language settings. match id location , language, go here. need translate controls yourself.
how choose populate controls use, create select case locale id , languages expect encounter, default if didn't include user's language. it's pretty cumbersome solution "i have type in of stuff" standpoint," , i'm sure there's better one, makes workbook portable , independent of other files.
Comments
Post a Comment