Excel 2003 Automation Error Visual Basic
Contents |
be down. Please try the request again. Your cache administrator is webmaster. Generated Sat, 15 Oct 2016 09:12:39 GMT by s_wx1131 (squid/3.5.20)
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about excel vba automation error unspecified error hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask
Excel Vba Automation Error The Interface Is Unknown
Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. excel vba automation error library not registered Join them; it only takes a minute: Sign up Excel/VBA Automation Errors due to Office Service Pack 3.0 caused by Forms up vote 6 down vote favorite 4 After installing all latest windows updates my Excel VBA code is http://answers.microsoft.com/en-us/msoffice/forum/msoffice_excel-mso_other/automation-errorunspecified-error/2c75ea54-981f-4634-ad25-f11647034000 showing an automation error at the very start of the first module. It contains some forms as well as numerous modules of VBA code. However, when removing the forms (and associated code) everything is fine. The same thing happened about a year ago after some other windows updates. Back then deleting the .exd files did the trick, but the current updates (including Service Pack 3) seem to be different. What is going on and how can I get http://stackoverflow.com/questions/11971358/excel-vba-automation-errors-due-to-office-service-pack-3-0-caused-by-forms the forms to work? All the code is unchanged and has survived all previous windows/office updates. Running Windows 7 (same happening on Vista machine) and Office 2007. windows excel vba ms-office windows-update share|improve this question asked Aug 15 '12 at 14:38 Rob 4343716 add a comment| 11 Answers 11 active oldest votes up vote 16 down vote accepted I used to see this a lot with Visual Basic and Crystal Reports; either due to a bad deployment or DLL Hell. So, my guess is that it's not the code but perhaps some 3rd party controls (OCXs, DLLs) you're using. Check your References (In VBA IDE, click Tools and References) and to see where each DLL is pointing. See if any of the dates on the libraries are different than a working machine and you may find the culprit. Edit The OP found the problem by following the steps above. The fix for this particular issue is to unregister mscomctl.ocx: regsvr32 /u mscomctl.ocx Then register it: regsvr32 mscomctl.ocx share|improve this answer edited Aug 16 '12 at 9:57 answered Aug 15 '12 at 14:52 ray 4,72942849 Not straight forward to compare, but only key difference I found is "Microsoft Windows Common Controls 6.0 (SP6) MSCOMCTL.OCX which is dated 6/6/12 on the updated (and not working) machine and 4/11/11 on an "old" one. Not using any 3rd party controls and all worked fine until
error Technote (troubleshooting) Problem(Abstract) Trying to load TM1 Perspectives with Excel results in an error. Opening Excel on its http://www-01.ibm.com/support/docview.wss?uid=swg21438688 own, does not give an error. Symptom English error: Microsoft Visual Basic Automation error Unspecified error German error: Microsoft Visual Basic Automatisierungsfehler Unbekannter Fehler Resolving the problem Steps to resolve issue for Excel 2003: - Stop the "Tm1 Excel Service" service (if you also have TM1Web installed locally). - Open Excel - Click on the Help menu - automation error Select Detect and Repair **Leave the first option checked, and the 2nd option unchecked** Once you've completed the above steps, close Excel and reboot your computer. Steps to resolve issue for Excel 2007: - Stop the "TM1 Excel Service" service (if you also have TM1Web installed locally). - Click the Microsoft Office Button - Click "Excel Options" - Click excel vba automation Resources - Click Diagnose - Click Continue - Click Run Diagnostics Once you've completed the above steps, close Excel and reboot your computer. Steps to resolve issue for Excel 2010: 1) Please install the SP1 for Excel 2010 32-bit a) either use the following link: http://www.microsoft.com/download/en/details.aspx?id=26622 or b) in Excel 2010, menu "File", "Help" and "Check for Updates" 2) After the successful installation of SP1 for Excel 2010 32-bit, please delete the temporary EXD-files from the following path: C:\Documents and Settings\Administrator\Application Data\Microsoft\Forms 3) Execute an Excel 2010 Repair by going to "Control Panel", "Add/Remove Programs", highlight "Microsoft Office 2010", hit button "Change" and select option "Repair" If this does not resolve the problem, also see technote 1593238 (link below) Related information Technote 1593238 Document information More support for: Cognos TM1 TM1 Perspectives Software version: 9.5.1, 9.5.2, 9.4 MR1, 10.1.0, 10.1.1 Operating system(s): Windows Software edition: All Editions Reference #: 1438688 Modified date: 2012-08-21 Site availability Site assistance Contact and feedback Need support? Submit feedback to IBM Support 1-800-IBM-7378 (USA) Directory of worldwide