Microsoft Visual Basic Automation Error Unspecified Error Excel
Contents |
be down. Please try the request again. Your cache administrator is webmaster. Generated Thu, 20 Oct 2016 14:01:03 GMT by s_nt6 (squid/3.5.20)
here for a quick overview of the site Help Center Detailed answers to any microsoft progressbar control questions you might have Meta Discuss the workings and policies
Runtime Error Automation Error Unspecified Error
of this site About Us Learn more about Stack Overflow the company Business Learn more about
Excel Vba Automation Error Catastrophic Failure
hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow http://answers.microsoft.com/en-us/msoffice/forum/msoffice_excel-mso_other/automation-errorunspecified-error/2c75ea54-981f-4634-ad25-f11647034000 is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Automation Error Unspecified Error with Internet Explorer Object Excel VBA up vote 1 down vote favorite I have been working with some code for a while and literally, all of http://stackoverflow.com/questions/25944187/automation-error-unspecified-error-with-internet-explorer-object-excel-vba the sudden it broke on me. Here is the error message I'm getting: Run-time error '-2147467259 (80004005)' Automation error Unspecified error the line of code is specifically when instantiating an InternetExporer object, except I have done nothing to change the code. It just stopped working. What could be the issue? This has happened before and I corrected it by explicitly calling the library (MSHTML for a HTMLBsaeObject before), except I'm using just an Object when naming the variables Public Sub ValueLineResearch() setUp Dim myFund As String loginN = Sheets("Logins").Range("B2").Text pwStr = Sheets("Logins").Range("B3").Text 'Get the site iEx.Navigate "https://jump.valueline.com/login.aspx" iEx.Visible = True Call waitForIE 'Need to login now don't we iEx.Document.forms("aspnetForm").Item("ctl00_ContentPlaceHolder_LoginControl_txtUserID").Value = loginN iEx.Document.forms("aspnetForm").Item("ctl00_ContentPlaceHolder_LoginControl_txtUserPw").Value = pwStr iEx.Document.forms("aspnetForm").Item("ctl00_ContentPlaceHolder_LoginControl_btnLogin").Click Call waitForIE Application.Wait DateAdd("s", 6, Now) iEx.Navigate "https://research.valueline.com/secure/research#sec=library" Call waitForIE For Each el1 In iEx.Document.getElementsByClassName("symbol-search textInput ui-autocomplete-input mod_search-symbols primary_symbol_search") el1.Value = fundToResearch Next Application.Wait DateAdd("s", 2, Now) iEx.Document.forms("quoteSearch").submit Call waitForIE Application.Wait DateAdd("s", 2, Now) iEx.Navigate "https://research.valueline.com/secure/research#list=recent&sec=company&sym=" & fundToResearch Call waitF
Forum Microsoft Office Application Help - Excel Help forum Excel Programming / VBA / Macros Automation Error; Unspecified Error To get replies by our experts at nominal charges, follow this link to buy points and post your thread in http://www.excelforum.com/showthread.php?t=856532 our Commercial Services forum! Here is the FAQ for this forum. + Reply to Thread Results 1 to 3 of 3 Automation Error; Unspecified Error Thread Tools Show Printable Version Subscribe to this Thread… Rate This Thread Current Rating Excellent Good Average Bad Terrible Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode 08-29-2012,10:03 AM #1 jprisco View Profile View Forum Posts Registered User Join automation error Date 08-29-2012 Location Oswego, NY MS-Off Ver Office 2007 Posts 1 Automation Error; Unspecified Error I am havign issues with multiple users on Excel 2007. There may have been a recent update that is causing these issues. All of them are getting an error either when opening Excel or when working on VBA: Microsoft Visual Basic --------------------- Automation error Unspecified error One of my users cannot save files either; it throws an automation error unspecified error that unfortunately I have not written down. Has anyone seen similar behavior and can point me in the right direction? Register To Reply 08-29-2012,10:30 AM #2 Kyle123 View Profile View Forum Posts Visit Homepage Forum Guru Join Date 03-10-2010 Location Leeds MS-Off Ver 2013 Win7 Posts 5,869 Re: Automation Error; Unspecified Error Give these tips a try: http://www.cpearson.com/excel/StartupErrors.aspx Register To Reply 08-30-2012,12:52 PM #3 GregMiliates View Profile View Forum Posts Registered User Join Date 08-30-2012 Location New Mexico MS-Off Ver Excel 2007 Posts 1 Re: Automation Error; Unspecified Error I ran into this problem, and after spending a couple frustrating hours on it (!), found the cause and the fix. Turns out you need to un-register and re-register the mscomctl.ocx file. Here's some additional info:http://stackoverflow.com/questions/1...aused-by-forms http://social.technet.microsoft.com/...0-c166aad4ff19 Register To Reply + Reply to Thread « Previous Thread | Next Thread » Thread Information Users Browsing this Thread There are currently 1 users browsing this thread. (0 members and 1 guests) Tags for this Thread automation error, unspecified error, vba View Tag Cloud Bookmarks Bookmarks Digg del.icio.us StumbleUpon Google Posting Permissions You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is Off HTML c