+ Reply to Thread
Results 1 to 4 of 4

Determine excel language

Hybrid View

Guest Determine excel language 08-27-2005, 12:05 PM
Guest Re: Determine excel language 08-27-2005, 01:05 PM
Guest Re: Determine excel language 08-27-2005, 01:05 PM
Guest Re: Determine excel language 08-27-2005, 02:05 PM
  1. #1
    DS NTE
    Guest

    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. #2
    Bob Phillips
    Guest

    Re: 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" <sorry@no.email> wrote in message
    news:eQ6s7$xqFHA.4072@TK2MSFTNGP09.phx.gbl...
    > 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. #3
    Tom Ogilvy
    Guest

    Re: Determine excel language

    see the Excel VBA help on the Application.International function.

    --
    Regards,
    Tom Ogilvy

    "DS NTE" <sorry@no.email> wrote in message
    news:eQ6s7$xqFHA.4072@TK2MSFTNGP09.phx.gbl...
    > 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. #4
    DS NTE
    Guest

    Re: Determine excel language

    Thank you - got it working!!!

    knut
    "Tom Ogilvy" <twogilvy@msn.com> skrev i melding
    news:%231Gx$QyqFHA.3444@TK2MSFTNGP12.phx.gbl...
    > see the Excel VBA help on the Application.International function.
    >
    > --
    > Regards,
    > Tom Ogilvy
    >
    > "DS NTE" <sorry@no.email> wrote in message
    > news:eQ6s7$xqFHA.4072@TK2MSFTNGP09.phx.gbl...
    >> 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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1