Automation Error Unspecified Error Excel 2003
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might excel vba automation error unspecified error have Meta Discuss the workings and policies of this site About automation error unspecified error excel 2007 Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting
Runtime Error Automation Error Unspecified Error
ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7
Automation Error Excel
million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up What is causing “Automation error Unspecified error” on Worksheet_Activate? up vote 2 down vote favorite 2 I have a worksheet named "Dates" (object name is A_Dates) that needs to be calculated when it is activated (It may be automation error vba worth noting that this is in my Personal macro workbook). I regularly have workbooks open that have too many calculations in the for me to have auto-calculation on. So I have auto-calc set to manual, and the following code in the worksheet: Private Sub Worksheet_Activate() A_Dates.Calculate End Sub This has worked fine for the last 3 months, day-in and day-out. Yesterday, it stopped working. It now throws this error on the declaration line: Microsoft Visual Basic Automation error Unspecified error [OK] [Help] I have tried changing how I reference the sheet, using: Sheets("Dates").Calculate and ActiveSheet.Calculate to no avail. I've also included error handling: On Error Resume Next which doesn't prevent it. I've even gone so far as: Private Sub Worksheet_Activate() On Error GoTo headache Sheets("Dates").Calculate Exit Sub headache: Exit Sub End Sub and it still shows up. I am totally at a loss. Help? Additional Information I have the following references, and use all of them in various macros in this workbook: Vis
One games Xbox 360 games PC
Automation Error Vb6
games Windows games Windows phone games Entertainment All vba automation error the object has disconnected from its client Entertainment Movies & TV Music Business & Education Business Students & excel vba automation error exception occurred educators Developers Sale Sale Find a store Gift cards Products Software & services Windows Office Free downloads & security http://stackoverflow.com/questions/12270922/what-is-causing-automation-error-unspecified-error-on-worksheet-activate Internet Explorer Microsoft Edge Skype OneNote OneDrive Microsoft Health MSN Bing Microsoft Groove Microsoft Movies & TV Devices & Xbox All Microsoft devices Microsoft Surface All Windows PCs & tablets PC accessories Xbox & games Microsoft Band Microsoft https://support.microsoft.com/en-us/kb/134835 Lumia All Windows phones Microsoft HoloLens For business Cloud Platform Microsoft Azure Microsoft Dynamics Windows for business Office for business Skype for business Surface for business Enterprise solutions Small business solutions Find a solutions provider Volume Licensing For developers & IT pros Develop Windows apps Microsoft Azure MSDN TechNet Visual Studio For students & educators Office for students OneNote in classroom Shop PCs & tablets perfect for students Microsoft in Education Support Sign in Cart Cart Javascript is disabled Please enable javascript and refresh the page Cookies are disabled Please enable cookies and refresh the page CV: {{ getCv() }} English (United States) Terms of use Privacy & cookies Trademarks © 2016 Microsoft
error Technote (troubleshooting) Problem(Abstract) Trying to load TM1 Perspectives with Excel results in http://www.ibm.com/support/docview.wss?uid=swg21438688 an error. Opening Excel on its own, does not give an error. Symptom English error: Microsoft Visual Basic Automation error Unspecified error German error: Microsoft http://www.vbforums.com/showthread.php?591505-RESOLVED-Run-time-error-%91-2147467259-(80004005)%92 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 automation error TM1Web installed locally). - Open Excel - Click on the Help menu - 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" automation error unspecified service (if you also have TM1Web installed locally). - Click the Microsoft Office Button - Click "Excel Options" - Click 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 Softwa
(80004005)’: If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. Results 1 to 7 of 7 Thread: [RESOLVED] Run-time error ‘-2147467259 (80004005)’: Tweet Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode Nov 11th, 2009,04:08 PM #1 Prod1 View Profile View Forum Posts Thread Starter New Member Join Date Nov 2009 Posts 5 [RESOLVED] Run-time error ‘-2147467259 (80004005)’: Hello all, I have a very basic application ('Console') in VB6 which launches various documents and shortcuts. All works fine with Office 2003, but on an Office 2007 machine, when I click on the button to launch an Excel document (in an IE window, as it happens) the document opens fine, but I also get this error: Run-time error ‘-2147467259 (80004005)': Automation error Unspecified error When that message is okayed the application ('Console') closes down. It's the same with all buttons which launch an Office document. The existing code on the button is this: Private Sub CommandButton65_Click() Dim Browser As Object Set Browser = CreateObject("InternetExplorer.Application") With Browser .Navigate ("\\eh-app-d14\SHAREDDATA\Service Desk\SHIFTS\2009\SDSK Shift Rota 2009.xls") .StatusBar = True .Toolbar = True .TheaterMode = False .Visible = True .Resizable = True .AddressBar = True End With End Sub I know that's really basic, but it's fine for what I want. Is there anyway to improve/amend the above code so that I do not get this Run-time error with Office 2007 PCs? Thanks. Last edited by Prod1; Nov 11th, 2009 at 04:09 PM. Reason: spelling Reply With Quote Nov 11th, 2009,04:32 PM #2 emartinho View Profile View Forum Posts Addicted Member Join Date Apr 2009 Location Toronto, Ontario Posts 242 Re: Run-time error ‘-2147467259 (80004005)’: Welcome to the board, I used your code to open a simple data only workbook in Excel 2007 and it worked fine. Is there any code in the your Excel file in the Workbook_Open event for example? That might be the place to look. Hope this helps. -EM --- REMEMBER: If your issue is resolved, use the Thread Tools menu to set it as such, and be sure to rate the posts that help you the most! Just because I was jealous of g4hsean! Reply With Quote Nov 12th, 2009,03:01 PM #3 Prod1 View Profile View Forum Posts Thread Starter New Member Join Date Nov 2009 Posts 5 Re