LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Run time error '-214741848 (80010108)

Hi Guys,

I have this code that has been working fine. It copies the active
sheet to a new workbook, then prompts the user to send it to accounts.
If they answer yes, it generates an e-mail. If not, it saves and close
the new book and returns to the original

This code is falling down on the line highlighted below, with a
run-time error I'm not familiar with . . .

Run time error '-214741848 (80010108)

Automation Error
The object invoked has disconnected from its clients

This has been working fine, and I have 15 instances of this workbook
in use. This is the only one to fall down with this error. It still
falls down in different environments. ie - not the users machine.

we are running Win2000prof & office 2k. The code is assigned to
on_click event of a control button.

Help please ! Cheers
Bob

plantlocation = Sheets("Maintenance Information").Range("C8").Value
Application.DisplayAlerts = False
Application.EnableEvents = False

ActiveSheet.Copy
*** debugs*** ActiveSheet.SaveAs Filename:=plantlocation &
Range("B3") & " - Plant Return" & ".xls"
email = MsgBox("Plant Return saved." & vbNewLine & vbNewLine & "Do you
want to e-mail this to Accounts now ?", vbYesNo, "Bluestone Site
Workbook")
If email = 6 Then
Application.Dialogs(xlDialogSendMail).Show
Else
End If

ActiveWindow.Close

Application.DisplayAlerts = True
Application.EnableEvents = True
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automation error '-2147417848 (80010108)' excel 2007 Lilandra Excel Discussion (Misc queries) 0 July 9th 09 11:16 PM
Visual Basic Error Run Time Error, Type Mismatch Meg Partridge Excel Discussion (Misc queries) 12 September 10th 08 06:10 PM
Code Error - Run Time Error 5 (Disable Cut, Copy & Paste) Tim[_36_] Excel Programming 4 April 23rd 04 02:53 AM
Automation error -2147417848 (80010108) mbobro[_5_] Excel Programming 2 April 8th 04 01:10 PM
Run time error 2147417848(80010108) Praveen Excel Programming 4 December 18th 03 10:23 AM


All times are GMT +1. The time now is 01:14 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"