+ Reply to Thread
Results 1 to 3 of 3

Google Translate Macro Function - How to rafear to Cell and/or Text in Quotes?

  1. #1
    Registered User
    Join Date
    02-06-2013
    Location
    Mexico
    MS-Off Ver
    MS Office 2016
    Posts
    95

    Question Google Translate Macro Function - How to rafear to Cell and/or Text in Quotes?

    Hello experts, i modify actual script to create a function in Excel to translate from Google Translator with formula.

    In order to work, you need to add Reference "Microsoft Internet Controls" (Tools>References)

    I create it referring to a cell range value with syntax =GoogleTranslate(A1,”en”,”es”)

    Is there a way to use, as well, Cell Range and/or Quoted Text? I mean, both with same formula function. I mean, use any of these two ways of syntax:

    =GoogleTranslate(A1,”en”,”es”)

    OR

    =GoogleTranslate(“Specific Text in Quotes”,”en”,”es”)


    Here is the VBA code for this function (Add as Module):


    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Arrow Re: Google Translate Macro Function - How to rafear to Cell and/or Text in Quotes?


    Hi,

    so just replace the Range parameter by a String …

  3. #3
    Registered User
    Join Date
    02-06-2013
    Location
    Mexico
    MS-Off Ver
    MS Office 2016
    Posts
    95

    Re: Google Translate Macro Function - How to rafear to Cell and/or Text in Quotes?

    It Works! Thanks

    Updated code, if some one needs.

    Please Login or Register  to view this content.

+ 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. Macro: translate text from cell using google translate
    By Marc_excel_tips in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 01-05-2021, 06:18 AM
  2. Translate English to French without using Google Translate
    By shaunafink in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-29-2019, 12:08 PM
  3. Translate text from cell using Google translate (2)
    By Andreea1234 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-31-2019, 07:36 AM
  4. Google Translate VBA Function
    By beardguy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-06-2018, 06:17 PM
  5. Google search text string with quotes
    By mattman123 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-14-2017, 03:37 PM
  6. Save text as word document and pull that through google translate
    By JasperD in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-06-2016, 03:05 AM
  7. [SOLVED] Get Google translate Function isn't working anymore
    By Ravana in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-16-2015, 01:39 PM

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