+ Reply to Thread
Results 1 to 7 of 7

Need to translate from Arabic language to English

  1. #1
    Registered User
    Join Date
    01-03-2017
    Location
    Oman
    MS-Off Ver
    365 Pro Plus
    Posts
    3

    Need to translate from Arabic language to English

    i want to convert arabic name to english and i am using the code given by the expert OllieB in the thread below.

    http://www.excelforum.com/showthread.php?t=889729

    But it is giving me Run-time error '-2147417856 (80010100)':

    Automation error
    System call failed.

    for the below line.

    Set pvt_obj_IE_Application = CreateObject("InternetExplorer.Application")

    Can anyone help me on this.

    Thanks in advance.

  2. #2
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,907

    Re: Need to translate from Arabic language to English

    Maybe this one works better.

    Please Login or Register  to view this content.
    Use:

    Please Login or Register  to view this content.
    Avoid using Select, Selection and Activate in your code. Use With ... End With instead.
    You can show your appreciation for those that have helped you by clicking the * at the bottom left of any of their posts.

  3. #3
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: Need to translate from Arabic language to English

    Hi, I have no idea why you are getting the error are you sure you have all variables dimensioned correctly?

    I use this code and it works on my system fro any language I throw at.

    Please Login or Register  to view this content.
    I use if in a module
    in your case the inputstring = "ar" and the outputstring = "en"

    Hope it helps
    ---
    Hans
    "IT" Always crosses your path!
    May the (vba) code be with you... if it isn't; start debugging!
    If you like my answer, Click the * below to say thank-you

  4. #4
    Registered User
    Join Date
    01-03-2017
    Location
    Oman
    MS-Off Ver
    365 Pro Plus
    Posts
    3

    Re: Need to translate from Arabic language to English

    Dear Keebellah,


    I am using your code as below.

    arabic name is in A2 & in B2 i am entering =translate_using_vba(A2,1) but i am getting error as #VALUE.

  5. #5
    Registered User
    Join Date
    01-03-2017
    Location
    Oman
    MS-Off Ver
    365 Pro Plus
    Posts
    3

    Re: Need to translate from Arabic language to English

    Dear bakerman2,

    Thanks for the code which you have provided. It works for me.

    *****

  6. #6
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: Need to translate from Arabic language to English

    Well you have a working code thanks to @bakerman2
    But just to test the 1 should be "en" I told you that in the post, so the syntax should be:

    Please Login or Register  to view this content.

  7. #7
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: Need to translate from Arabic language to English

    Well you have a working code thanks to @bakerman2
    But just to test the 1 should be "en" I told you that in the post, so the syntax should be:

    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. Converting Arabic language to English
    By arshad.99.ali in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-17-2016, 11:46 AM
  2. Replies: 3
    Last Post: 04-29-2016, 04:10 AM
  3. how to convert the text in a column from arabic to english language
    By grk2006 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-09-2015, 06:45 AM
  4. Sample Translate English to Arabic Text Using MS Translate
    By pidyok in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-21-2013, 08:18 AM
  5. Need to translate from Arabic language to English
    By gaminguy in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-26-2013, 09:27 AM
  6. Mac 2011 excel, need to translate column of over 1500 entries from Arabic to English
    By smarttech in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 0
    Last Post: 05-09-2013, 06:12 PM
  7. Need to translate from Arabic language to English
    By gaminguy in forum Excel General
    Replies: 1
    Last Post: 01-10-2013, 05:22 AM

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