+ Reply to Thread
Results 1 to 5 of 5

Change Button language according to Language Settings

  1. #1
    Registered User
    Join Date
    01-30-2015
    Location
    Switzerland
    MS-Off Ver
    Excel 2013
    Posts
    3

    Change Button language according to Language Settings

    Hello Experts

    The text of my buttons (where there are some macro assigned) should change dependent on the User settings.
    Example:
    I have 2 user groups. English and German
    For the English users the buttons should be displayed with "Save", for the German users it should be "Speichern".

    I would be great if you can give me a hint here.

    Rgds
    Thomas

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Change Button language according to Language Settings

    Hello Thomas,

    There is no automatic translation available for user assigned text to a button. If the button is part of a system control, like a dialog box, then the text can be changed by changing the language setting for the user.

    If would help to see the workbook layout.

    How To Post Your Workbook
    1. At the bottom right of the Reply window, Click the button Go Advanced
    2. At the top of the Your Message Window, in the first row of icons, Click the Paperclip icon.
    3. Click the Add Files button at the top right in the dialog box. This displays the File Manager dialog.
    4. Click the Select Files button at the bottom middle of the dialog.
    5. In the new window Find the file you want to upload, select it, and Click Open.
    6. You will now be back in the File Manager dialog. Click the bottom Middle button Upload File.
    7. Wait until the file has completely uploaded before you exit the File Manager dialog.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Registered User
    Join Date
    01-30-2015
    Location
    Switzerland
    MS-Off Ver
    Excel 2013
    Posts
    3

    Re: Change Button language according to Language Settings

    Hello Leith
    Thanks for your answer.
    I attached here a sample of my workbook. I is only the text of the button which should be solved. In this excample: If B2 says "German", the button should be "Sichern".
    Example.jpg
    Rgds,
    Thomas

  4. #4
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Change Button language according to Language Settings

    Hello Thomas,

    Since this a user created button, appears to be an ActiveX, you will need a macro to change the button's caption based on B2's contents.

    I would need a copy of your workbook to create a macro and test it for you.

    If your workbook contains any sensitive information, please redact that information before you post.

    How To Post Your Workbook
    1. At the bottom right of the Reply window, Click the button Go Advanced
    2. At the top of the Your Message Window, in the first row of icons, Click the Paperclip icon.
    3. Click the Add Files button at the top right in the dialog box. This displays the File Manager dialog.
    4. Click the Select Files button at the bottom middle of the dialog.
    5. In the new window Find the file you want to upload, select it, and Click Open.
    6. You will now be back in the File Manager dialog. Click the bottom Middle button Upload File.
    7. Wait until the file has completely uploaded before you exit the File Manager dialog.

  5. #5
    Registered User
    Join Date
    01-30-2015
    Location
    Switzerland
    MS-Off Ver
    Excel 2013
    Posts
    3

    Re: Change Button language according to Language Settings

    Hello Leith

    Great.
    Attached you find a copy of my samle.

    Best Regards
    Thomas
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Change Language Settings in Excel
    By coder_arun in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-31-2011, 05:06 AM
  2. Change Language Settings in Excel
    By coder_arun in forum Excel General
    Replies: 0
    Last Post: 08-23-2006, 08:57 AM
  3. [SOLVED] How can I programatically change the language in the language bar?
    By Roy Barr in forum Excel General
    Replies: 0
    Last Post: 03-14-2005, 06:06 PM
  4. [SOLVED] How can I programatically change the language in the language bar?
    By Roy Barr in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-14-2005, 06:06 PM
  5. [SOLVED] How to change the excel format from language to language?
    By zee in forum Excel General
    Replies: 2
    Last Post: 01-30-2005, 03:06 PM

Tags for this Thread

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