+ Reply to Thread
Results 1 to 5 of 5

Automation Error (-2147417843)

  1. #1
    Forum Contributor
    Join Date
    05-19-2009
    Location
    Santiago, Chile
    MS-Off Ver
    Excel 2019
    Posts
    212

    Automation Error (-2147417843)

    I get some nasty error message and microsoft is giving me the following solution: http://www.microsofttranslator.com/B...523/en-us?fr=1
    I don't have the program VB installed but get to it through Excel and click on ALT F11

    Apparently I need to install some kind of Timer but get error message as described in picture 04374638bda14a48b36512503acfc081.jpg

    Anybody that can help me out?
    Last edited by pansovic; 01-12-2012 at 01:21 PM.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Automation Error (-2147417843)

    Hello pansovic,

    Without seeing all of the code, I am making a guess. It looks like either the Timer object used in Visual Basic ( not the same language as VBA) or it could be a custom VBA Class Timer that uses the Window API Timer.

    Any any event, it is missing in your code. Can you tell more about where you got the code? Can you upload your workbook for review?
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Forum Expert OnErrorGoto0's Avatar
    Join Date
    12-30-2011
    Location
    I DO NOT POST HERE ANYMORE
    MS-Off Ver
    I DO NOT POST HERE ANYMORE
    Posts
    1,655

    Re: Automation Error (-2147417843)

    Hi,
    That looks like VB to me rather than VBA, so it won't work as written. Can I ask where you got the code or the workbook it resides in?
    Good luck.

  4. #4
    Forum Contributor
    Join Date
    05-19-2009
    Location
    Santiago, Chile
    MS-Off Ver
    Excel 2019
    Posts
    212

    Re: Automation Error (-2147417843)

    The code I got from the webiste that I have mentioned in previous note. Here a copy
    Please Login or Register  to view this content.
    By the way what is difference between VB and VBA and does that have influence on my error?

  5. #5
    Forum Expert OnErrorGoto0's Avatar
    Join Date
    12-30-2011
    Location
    I DO NOT POST HERE ANYMORE
    MS-Off Ver
    I DO NOT POST HERE ANYMORE
    Posts
    1,655

    Re: Automation Error (-2147417843)

    Did you add that code in response to the error message? If so, it will not help and you should remove it, then tell us what code caused the original error.

+ 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