Automation Error Unspecified Error Vba Autocad
down your search results by suggesting possible matches as you type. Showing results for Search instead for Do you mean Search the Community Advanced excel vba automation error unspecified error Search Forums | Ideas Browse by product Products 3ds Max automation error unspecified error vba excel 2007 A360 Products Advance Steel Alias APIs and Programming ArtCAM AutoCAD AutoCAD 360 AutoCAD Architecture AutoCAD Civil 3D AutoCAD Electrical AutoCAD for Mac AutoCAD Land Desktop AutoCAD LT AutoCAD Map 3D AutoCAD Mechanical AutoCAD MEP AutoCAD P&ID AutoCAD Plant 3D AutoCAD Raster Design AutoCAD Structural Detailing AutoCAD Utility Design Autodesk Media and Entertainment AutoSketch BIM 360 Building Ops Buzzsaw BXD: Synthesis CFD Configurator 360 Constructware Design Review DWG TrueView Exchange Apps Fabrication FeatureCAM Flow Design ForceEffect FormIt 360 Fusion 360 Fusion Connect Fusion Lifecycle Fusion Team Game Making Helius Composite Helius PFA Infrastructure Map Server InfraWorks 360 Insight 360 Inventor Inventor HSM & HSMWorks CAM Maya Mechanical Desktop Mockup 360 Moldflow Nastran Nastran In-CAD Navisworks Point Layout PowerInspect PowerMill PowerShape ReCap 360 ReMake Remote Revit Robot Structural Analysis Screencast & Project PRAXIS SimStudio Simulation Mechanical Smoke Structural Bridge Design Vault VRED New Users Getting Started with your Autodesk Product Suites Factory Design Utilities Product Design Suite International Forums Deutsch Español Français Português Русский Türkiye 日本語 中文 Other Forums Community Topics Autodesk Labs Archived Forums Close Visual Basic Customization Autodesk Community > AutoCAD > AutoCAD Customization > Visual Basic Customization > Automation Error.. Unspecified Error AutoCAD: AutoCAD Customization: Visual Basic Customization: Automation Error.. Unspecified Error: Page 1 Visual Basic Customization Reply Topic Options Subscribe to RSS Feed Mark Topic as New Mark Top
Forums Programming VBA/COM Interop Automation error unspecified 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 4 of 4 Thread: Automation error unspecified Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode 2005-02-03,01:42 PM #1 mjsregister View Profile View Forum Posts Visit Homepage Member Join Date 2000-11 Location Atlanta, GA Posts 48 Automation error unspecified Very weird.... I have code that has http://forums.autodesk.com/t5/visual-basic-customization/automation-error-unspecified-error/td-p/2099393 been running fonr on 65 workstations for a year and a half. All of a sudden I have 2 that refuse to work properly. I get the automation error on the AcadDocument_BeginCommand and End_Command events. I'd like to step through it, but I can'e even get that far. It gives me the error message as it begins either event. And all the code within the sub does is simply check to see if the command the http://forums.augi.com/showthread.php?14273-Automation-error-unspecified user initiated is one of a few specified commands to run some layering procedures. Again, it's been running flawlessly until just recent. And it still does on the other 63 boxes. Resinstalling AutoCAD does nothing.... Last, but not least, I walked through the issue with the hardware guy and nothing has been changed in the LAN or the two boxes in question..... Thanks...... Reply With Quote 2005-02-03,02:39 PM #2 mtuersley View Profile View Forum Posts 100 Club Join Date 2001-12 Posts 122 Re: Automation error unspecified Well post the event code and lets see what it might be Reply With Quote 2005-02-03,02:51 PM #3 mjsregister View Profile View Forum Posts Visit Homepage Member Join Date 2000-11 Location Atlanta, GA Posts 48 Re: Automation error unspecified It's for a "special" object that I need updated if the user stretches or gripedits it. Weird thing is I can't get to the first line to debug... And even weirder is that it has worked without issues... Grrr..... Private Sub AcadDocument_BeginCommand(ByVal CommandName As String) booLeaderGrip = False If CommandName Like "GRIP*" Then booLeaderGrip = True Call GetARXdata End If If CommandName Like "STRETCH" Then booLeaderGrip = True Call GetARXdata End If End Sub Reply With Quote 2005-02-03,04:40 PM #4 mtuersley View Profile View Forum Posts 100 Club Join Date 2001-12 Posts 122 Re: Automation error unspecified Have you tried setting a breakpoint
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 http://stackoverflow.com/questions/24688816/vba-excel-automation-error-unspecified-error Overflow the company Business Learn more about 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 is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up VBA - Excel - Automation Error Unspecified Error up vote 0 down vote favorite So I automation error ran into a slight stumbling block and hopefully here someone can help me. In short, I need to visit a string of webpages (the list of the names on each page are already input, that code works fine). As my code visits each page, I need to pull back information. Unfortunately, there's a problem - it can't even make it through the "A" list before I get "Automation Error Unspecified Error" automation error unspecified and it's never at the same spot. I've tried the "normal" steps to fix this. I've installed the VB 6 Controls and I've unregistered and re-registered mscomctl.ocx, and including On Error Resume Next (which doesn't do anything). It usually reaches over 100 cases before it dies (randomly as I said earlier). And AFTER the error pops up, when I try to re-run it (with or without changes) and it errors on the first one. If I restart my computer it will let me try again (for whatever reason) but it still doesn't finish. Is the code too complex and I need to reduce it? I can probably find a way to make it only run for each letter at a time (run all A's, then do B's, etc) but I still can't even get it to complete the letter A. I noticed in another thread someone had suggested instead of using IE to swap to xmlhttp - is that a fix for this? Is the problem that this script is too long? What exactly am I doing wrong here? Sub Lookup() Range("AI1").Value = "Unique ID" Range("AJ1").Value = "Name" Range("AK1").Value = "Birth Year" Range("AL1").Value = "Title" Range("AM1").Value = "State" Range("AN1").Value = "Position" Range("AO1").Value = "Country" Range("AP1").Value = "Appointed" Range("AQ1").Value = "Credentials" Range("AR1").Value