Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Determine excel language
How can I determine witch language excel "uses"?
My problem is that som users have an english version and some users have an norwegian version. This causes problems when working with commandbars: Norwegian: Set CmdBarMenu = CmdBar.Controls("Verktøy") English: Set CmdBarMenu = CmdBar.Controls("Tools") Is there a global method of doing this so this language issue wont cause me any trouble? knut |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Determine excel language
Use the Toolbar Id
Set CmdBarMenu = Application.CommandBars.FindControl(ID:=30007) -- HTH RP (remove nothere from the email address if mailing direct) "DS NTE" wrote in message ... How can I determine witch language excel "uses"? My problem is that som users have an english version and some users have an norwegian version. This causes problems when working with commandbars: Norwegian: Set CmdBarMenu = CmdBar.Controls("Verktøy") English: Set CmdBarMenu = CmdBar.Controls("Tools") Is there a global method of doing this so this language issue wont cause me any trouble? knut |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Determine excel language
see the Excel VBA help on the Application.International function.
-- Regards, Tom Ogilvy "DS NTE" wrote in message ... How can I determine witch language excel "uses"? My problem is that som users have an english version and some users have an norwegian version. This causes problems when working with commandbars: Norwegian: Set CmdBarMenu = CmdBar.Controls("Verktøy") English: Set CmdBarMenu = CmdBar.Controls("Tools") Is there a global method of doing this so this language issue wont cause me any trouble? knut |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Determine excel language
Thank you - got it working!!!
knut "Tom Ogilvy" skrev i melding ... see the Excel VBA help on the Application.International function. -- Regards, Tom Ogilvy "DS NTE" wrote in message ... How can I determine witch language excel "uses"? My problem is that som users have an english version and some users have an norwegian version. This causes problems when working with commandbars: Norwegian: Set CmdBarMenu = CmdBar.Controls("Verktøy") English: Set CmdBarMenu = CmdBar.Controls("Tools") Is there a global method of doing this so this language issue wont cause me any trouble? knut |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to change German language data into Eglish Language in a colum | Excel Discussion (Misc queries) | |||
language support in excel sheet using a third party language tool | Excel Worksheet Functions | |||
How can I programatically change the language in the language bar? | Excel Discussion (Misc queries) | |||
How to change the excel format from language to language? | Excel Discussion (Misc queries) | |||
Determine application language in Excel 97 | Excel Programming |