+ Reply to Thread
Results 1 to 14 of 14

Macros that can translate from English to Spanish.

  1. #1
    Registered User
    Join Date
    09-06-2010
    Location
    new york, us
    MS-Off Ver
    Excel 2003
    Posts
    7

    Macros that can translate from English to Spanish.

    I have a Excel file.
    I need a macro that will translate from English to Spanish with using translate.google.com
    Sample of my xls file I've attached.
    Attached Files Attached Files

  2. #2
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Macros that can translate from English to Spanish.

    Hi evek

    Welcome to the forum.

    I found this link, I must confess I haven't tried it out myself yet.
    http://vbaexcel.eu/vba-macro-code/go...rer-automation

    Hope this helps.

  3. #3
    Registered User
    Join Date
    09-06-2010
    Location
    new york, us
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Macros that can translate from English to Spanish.

    Thanks for your reply.
    I try to use it for my file -- doesn't work
    I ran it on theirs attached -- same -- getting errors
    Last edited by Leith Ross; 05-15-2013 at 02:30 PM.

  4. #4
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Macros that can translate from English to Spanish.

    I may have found a function that can be modified to suit your sheet.

    I can't look further into it at present, look back tomorrow, I might have something then.

  5. #5
    Registered User
    Join Date
    09-06-2010
    Location
    new york, us
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Macros that can translate from English to Spanish.

    Ok, Thank you!
    Last edited by Leith Ross; 05-15-2013 at 02:31 PM.

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Macros that can translate from English to Spanish.

    evek, please don't quote whole posts; it's just clutter. Use the REPLY button, not the QUOTE button.

    Thanks.
    Entia non sunt multiplicanda sine necessitate

  7. #7
    Forum Contributor
    Join Date
    07-13-2007
    Posts
    151

    Re: Macros that can translate from English to Spanish.

    Good question! I had tried Google translate recently andit wasn't up and running yet as I recall.

    I created a UDF that does the rick for you. I filled it in for the first 100 rows or so, works great. You can do the rest from your machine. I don't know at what Google might block repetitive queries from one IP address.

    Here's the code I put in a standard module in your workbook:

    Please Login or Register  to view this content.
    Attached Files Attached Files

  8. #8

  9. #9
    Registered User
    Join Date
    09-06-2010
    Location
    new york, us
    MS-Off Ver
    Excel 2003
    Posts
    7
    ShredDude, how you added new users function in excel 2007?

  10. #10
    Registered User
    Join Date
    09-06-2010
    Location
    new york, us
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Macros that can translate from English to Spanish.

    Sorry, I found. Working fine.
    Thank you !!
    Last edited by Leith Ross; 05-15-2013 at 02:31 PM.

  11. #11
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Macros that can translate from English to Spanish.

    Sorry a bit late, but as promised here we are.

    I saw ShreadDudes' post and have run a comparison with the code I found earlier, see the attached workbook.

    I have included a sheet that lists the codes that Google Translate uses and a link for more code and updates.

    Go with ShreadDude! his/her code is shorter and better.

    I hope this adds a little bit more help.
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  12. #12
    Registered User
    Join Date
    12-03-2010
    Location
    usa
    MS-Off Ver
    Excel 2004
    Posts
    1

    Re: Macros that can translate from English to Spanish.

    I tried copying the code over and making UDF in excel to use this function but I couldn't get it to work.....it keeps saying there is an error and it will stop debugger or something...and then pulls up the code and has Replace highlighted yellow like I need to change that....I am in 2004 excel

    I could also be doing something very basic wrong and not know it...I am new to writing these things and basically just cut the code from the previous post and tried to drag it down.

    I also tried using the files that were put up here and moving my cells in there but gave me the same problems.

    please help!

  13. #13
    Registered User
    Join Date
    05-15-2013
    Location
    brazil
    MS-Off Ver
    Excel 2010
    Posts
    1

    Re: Macros that can translate from English to Spanish.

    Hi shreddude, great UDF it works great, i just have a doubt, how i have to do for doesn't stops at the first "." (dot) that the UDF finds... thank you very much

  14. #14
    Registered User
    Join Date
    03-19-2020
    Location
    London, England
    MS-Off Ver
    10
    Posts
    1

    Re: Macros that can translate from English to Spanish.

    great job, well done THX

+ 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