Automation Error 2147417848
Contents |
One games Xbox 360 games PC runtime error 2147417848 automation error games Windows games Windows phone games Entertainment All
Error Number 2147417848
Entertainment Movies & TV Music Business & Education Business Students & run-time error 2147417848 educators Developers Sale Sale Find a store Gift cards Products Software & services Windows Office Free downloads & security error 2147417848 (80010108) 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
Automation Error The Object Invoked Has Disconnected From Its Clients
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
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 automation error the object invoked has disconnected from its clients vb6 the company Business Learn more about hiring developers or posting ads with us Stack automation error the object invoked has disconnected from its clients internet explorer Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community
Automation Error The Object Invoked Has Disconnected From Its Clients Windows 7
of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Excel VBA Automation Error: The object invoked has disconnected from its clients up vote 5 down vote https://support.microsoft.com/en-us/kb/813120 favorite 1 I know I've seen references to this issue before, but I have tried several of the suggestions and I am still getting the error. I have a workbook that assembles data from another book and generates a report. I then want to make a new workbook, copy the report information into the new book, save the new book and close it, and then move on to the next report. It http://stackoverflow.com/questions/17302918/excel-vba-automation-error-the-object-invoked-has-disconnected-from-its-clients should do this around 10 times. In the part of my code where I am copying and pasting the sheets, I am getting an error Error -2147417848 Automation error The object invoked has disconnected from its clients I have checked other postings about this error, and tried the suggested solutions without any results. the interesting thing is that sometimes it will make it through 5 cycles of code before breaking, sometimes only 2. The only consistency is that it always breaks in the same place fromBook.Sheets("Report").Copy Before:=newBook.Sheets("Sheet1") I have option Explicit at the top of the module, and I have checked to make sure that there are not any globals inside of the sub it is breaking in. That being said, It's entirely possible I have overlooked something. I also put a "timer" in at one point to make sure that the excel sheets were not walking over each other. I could really use the help! Here is my sub's code: Sub CreateAndSave(ByRef Reg As Integer, ByVal j As Integer) Dim fromBook As Workbook Dim fromSheet As Worksheet Dim newBook As Workbook Dim fileExists As Boolean Dim i As Integer Dim Holder As Integer Application.ScreenUpdating = False Application.DisplayAlerts = False Set fromBook = Application.Workbooks("Region_Audit_Report") Set newBook = Workbooks.Add With newBook .SaveAs Filename:="G:\DataTeam\ExcelDev\Audit Repo
The object invoked has disconnected from its clients 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 http://www.vbforums.com/showthread.php?387765-RESOLVED-Automation-Error-2147417848-The-object-invoked-has-disconnected-from-its-clients messages, select the forum that you want to visit from the selection below. Results 1 to 18 of 18 Thread: [RESOLVED] Automation Error -2147417848 The object invoked has disconnected from its clients Tweet Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode Feb 16th, 2006,08:56 AM #1 tward View Profile View Forum Posts Thread Starter Hyperactive Member Join Date Apr 2004 Posts 342 [RESOLVED] Automation Error -2147417848 The object invoked automation error has disconnected from its clients I've seen several posts about this but non that really help! I get this only when running the program as an executable..... Never in Visual Basic... I've isolated it to one routine, but can't figure out what this message is trying to tell me... I trap the error now, and the program seems to continue to work just fine after the error... but I really think I should track it down! Feb 16th, 2006,09:52 AM #2 oh1mie automation error the View Profile View Forum Posts Visit Homepage Frenzied Member Join Date Sep 2001 Location Finland Posts 1,043 Re: Automation Error -2147417848 The object invoked has disconnected from its clients It comes probably from Data connection. Only way to find it, is writing tracking code, what writes all to the logfile. oh1mie/Vic Feb 16th, 2006,09:58 AM #3 tward View Profile View Forum Posts Thread Starter Hyperactive Member Join Date Apr 2004 Posts 342 Re: Automation Error -2147417848 The object invoked has disconnected from its clients I am connected to an Access Database.... I'll do some logging to see if I can track it down.. Problem, of course, is that it is not consitent at all! I'm sure it will end up being something stupid that I am doing, but I just don't see it right now.... Didn't know if anyone else had any insight! Feb 16th, 2006,10:09 AM #4 oh1mie View Profile View Forum Posts Visit Homepage Frenzied Member Join Date Sep 2001 Location Finland Posts 1,043 Re: Automation Error -2147417848 The object invoked has disconnected from its clients I got same kind of trouble 7 - 8 years ago. I can not remember solving. Error was on datadriver or dataconnection and there for VB did not show error like it's owns. oh1mie/Vic Feb 16th, 2006,10:11 AM #5 Hack View Profile View Forum Posts Super Moderator Join Date Aug 2001 Location Searching for mendhak Posts 58,335 Re: Automation Error -2147417848 The object i