+ Reply to Thread
Results 1 to 6 of 6

Translate code takes long time

  1. #1
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,892

    Translate code takes long time

    Hello experts
    I was searching for a code that translates based on google translation
    Here' the code but it took long time and no results for me
    Please Login or Register  to view this content.
    Any help in this topic please?
    < ----- Please click the little star * next to add reputation if my post helps you
    Visit Forum : From Here

  2. #2
    Forum Expert Crooza's Avatar
    Join Date
    10-19-2013
    Location
    Hunter Valley, Australia
    MS-Off Ver
    Excel 2003 /7/10
    Posts
    2,082

    Re: Translate code takes long time

    Maybe change

    this
    Application.Wait (Now + TimeValue("00:00:03")) to this
    Application.Wait (Now + TimeValue("00:00:01")) to buy you a few seconds.

    and if you know what you're translating then maybe change the #auto to #fr (for French) or whatever it is as I assume the auto feature takes time to detect the correct language.

    I tried this on a small subset and both worked but how mch time is really saved is probably a function of the complexity of the phrases you have to translate.
    Happy with my advice? Click on the * reputation button below

  3. #3
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,892

    Re: Translate code takes long time

    Thanks Mr. Crooza for reply
    I am facing the following message and tried every option (Yes - No - Close the message) and nothing happened ..
    The words I would translate is very simple for test ..
    001.png

  4. #4
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,892

    Re: Translate code takes long time

    Thanks I could fix this problem and disabled security warning through this link in the last post
    http://stackoverflow.com/questions/8...-was-delivered

    Another fix to the code I replaced http with https

    Thanks a lot for help .. Problem Solved
    Last edited by YasserKhalil; 08-27-2016 at 11:34 PM.

  5. #5
    Forum Expert Crooza's Avatar
    Join Date
    10-19-2013
    Location
    Hunter Valley, Australia
    MS-Off Ver
    Excel 2003 /7/10
    Posts
    2,082

    Re: Translate code takes long time

    Great. it worked for me but as you said it took some time

  6. #6
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,892

    Re: Translate code takes long time

    Thank you very much Mr. Crooza
    At first it took long time without any results .. After changing http to https and disabling the security alert it works fine and give me results

    Was it working with you by using http as posted in first post?

+ 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. [SOLVED] msoFileDialogFolderPicker takes very long time to open first time
    By Jacc in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-12-2015, 08:00 AM
  2. Loop that takes a long time
    By batchjb69 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-26-2014, 09:00 AM
  3. Calculation takes long time
    By dorend in forum Excel General
    Replies: 10
    Last Post: 12-13-2011, 06:17 PM
  4. Long code takes an age to run
    By E3iron in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-05-2009, 07:38 AM
  5. My Code takes too long to execute
    By coreytroy in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-30-2008, 12:12 AM
  6. how do i add time to see how long my macro takes to run
    By ernestgoh in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-16-2006, 06:10 AM
  7. [SOLVED] Save takes long time
    By Jan in forum Excel General
    Replies: 2
    Last Post: 02-15-2006, 02:10 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