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: 1
Default Automation error


Hi fellow exceleites:)

I am writing a VBA moduel in excel 2003, which does certai
calculations based on data in several sheets and displays a report i
the last sheet(Tab).

I am getting this error :-

-2147417848
Automation error
The Object invoked has disconnected from its clients.

This error always occurs at the following line of code.

-ThisWorkbook.Sheets("AE Pivot").Copy Befo=NewBook.Sheets(1)-

After i click OK on error msg box, excel seems to get bugged up an
shuts down itself and launches itself again with a new blank workshee


And as if this wasnt enough this error doesnt occur evrytime, its quit
moody,
occurs say once in 10-12 runs, but always on the same line of code.
Plzzzz help:mad

--
karanbhati
-----------------------------------------------------------------------
karanbhatia's Profile: http://www.excelforum.com/member.php...fo&userid=3427
View this thread: http://www.excelforum.com/showthread.php?threadid=54034

 
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
Compile error automation error nikkiws Excel Programming 0 January 17th 06 08:24 AM
compile error automation error [email protected] Excel Programming 0 January 17th 06 08:06 AM
RunTime Error (Automation Error) KD[_3_] Excel Programming 3 January 25th 05 01:56 PM
Automation Error, Unknown Error. Error value - 440 Neo[_2_] Excel Programming 0 May 29th 04 05:26 AM
Unknown where is the problem on the Runtime error - Automation error wellie Excel Programming 1 July 10th 03 08:12 AM


All times are GMT +1. The time now is 08:21 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"