Consulting

Results 1 to 5 of 5

Thread: Funtions: For non-english Excel users

  1. #1
    VBAX Tutor Benzadeus's Avatar
    Joined
    Dec 2008
    Location
    Belo Horizonte, Brazil
    Posts
    271
    Location

    Funtions: For non-english Excel users

    I know there's a Non English Help forum at VBAX, but since most users (that include non-native english people) use this forum, I felt posting this here would be helpful.

    Just discovered some curiosity:
    My Excel is in Portuguese (Brazil), so, the worksheet functions are written in Portuguese.

    For example, in English, the formula:
    =SUM(A1:A3,C1:C3)

    is, in Portuguese:
    =SOMA(A1:A3;C1:C3)

    A lot of times when I paste some formula in english on my spreadsheet, I have to rewrite it and that is very annoying. An easy way to immediate "translate" the formula in local Excel language is:

    1 - Write the foreign formula with an ' before it, like:
    '=SUM(A1:A3,C1:C3)
    in the destination cell.

    2 - VBA code:
    [VBA]Sub TranslateFormula()
    ActiveCell.Formula = ActiveCell.Value
    End Sub[/VBA]

    Hope you enjoy it.

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    An easier way in VBA is

    [vba]

    Activecell.Formula = "=SUM(A1:A3,C1:C3)"
    [/vba]

    then check your spreadsheet.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  3. #3
    VBAX Tutor Benzadeus's Avatar
    Joined
    Dec 2008
    Location
    Belo Horizonte, Brazil
    Posts
    271
    Location
    Yes, I agree!

  4. #4
    VBAX Mentor MaximS's Avatar
    Joined
    Sep 2008
    Location
    Stoke-On-Trent
    Posts
    360
    Location
    Hmm ... I cannot immagine now learning again all the Excel functions in my native language (Polish) after moving to England few years ago and learning everything with english version.

    Only solution for me would be using VBA for every formula

  5. #5
    VBAX Tutor Benzadeus's Avatar
    Joined
    Dec 2008
    Location
    Belo Horizonte, Brazil
    Posts
    271
    Location
    xld,

    I found it yearsterday: Using
    [vba]Activecell.Formula = "=SUM(A1:A3,C1:C3)" [/vba]
    is okay, but in
    [vba]Activecell.Formula = "=A1 & " oranges""[/vba]
    it is necessary to duplicate the " sinal where appears the string.

    Also, to translate a formula with #1, it is not necessary opening the VBE.

Posting Permissions

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