Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 337
Default The object invoked has disconnected from its clients

Error -2147417848 (&H80010108): The object invoked has disconnected from its
clients. when I run this macro the second time

Option Explicit
Private Sub CommandButton4_Click() 'Recall 0Master7

Application.ScreenUpdating = False
Application.DisplayAlerts = False

Workbooks.Open Filename:="C:\Quotes\0Master7.xls"

Range("A1:H267").Select
Selection.Copy
Windows("Master7.xlsm").Activate Fail at this line

I added the Option Explicit per MS info but it didn't help
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,565
Default The object invoked has disconnected from its clients

Looks to me like you are opening a .xls file and trying to activate it as a
..xlsm file. Probably won't work.


"oldjay" wrote in message
...
Error -2147417848 (&H80010108): The object invoked has disconnected from
its
clients. when I run this macro the second time

Option Explicit
Private Sub CommandButton4_Click() 'Recall 0Master7

Application.ScreenUpdating = False
Application.DisplayAlerts = False

Workbooks.Open Filename:="C:\Quotes\0Master7.xls"

Range("A1:H267").Select
Selection.Copy
Windows("Master7.xlsm").Activate Fail at this line

I added the Option Explicit per MS info but it didn't help



Reply
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
The object invoked has disconnected from its clients Michelle Excel Programming 7 January 22nd 09 05:47 PM
The object invoked as disconnected from its clients. - To many she dan Excel Programming 1 October 30th 07 08:04 AM
object invoked is disconnected from its clients Ken Excel Programming 4 June 27th 07 07:55 PM
Object invoked disconnected from its clients. Spreadsheet Solutions Excel Programming 1 February 7th 06 10:03 AM


All times are GMT +1. The time now is 02:58 PM.

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

About Us

"It's about Microsoft Excel"