Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Valeria, Did you find your answer?

I saw your post on 11/25/04 in which you got the error " the object invoked
has
disconnected from its clients", when trying to use a macro to write code in
another workbook. I have the same problem. Single stepping, I found that the
error occurs at .InsertLines Startline. I saw where you didn't get a
response to your question. If you ever found out what the problem was, I
would love to know answer.

Thanks,
Jim
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 127
Default Valeria, Did you find your answer?

Hi Jim,
wow, mine is a really late answer! I had not seen your post. No, I did not
get an answer. In my case, the problem occurs when I make VBA write some code
into the module of another worksheet, and then come back to the workbook.
It looks like VBA can well write the code to the module of the second
workbook, but it does not find its own workbook anymore. In fact, I solved
the problem by splitting the macro: I have it run until it writes the code to
the second workbook, and then I launch a second macro from the original
workbook.

Sorry I am not able to help further!
Kind regards,

Valeria


"Jim Warren" wrote:

I saw your post on 11/25/04 in which you got the error " the object invoked
has
disconnected from its clients", when trying to use a macro to write code in
another workbook. I have the same problem. Single stepping, I found that the
error occurs at .InsertLines Startline. I saw where you didn't get a
response to your question. If you ever found out what the problem was, I
would love to know answer.

Thanks,
Jim

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
Find utility, highlighting answer Phil C[_2_] Excel Discussion (Misc queries) 2 February 26th 10 04:46 PM
This should be easy, but can't find an answer...requesting your in Lisa Excel Worksheet Functions 1 January 23rd 08 06:02 AM
Sumproduct I can't find an answer for! MarvInBoise Excel Worksheet Functions 6 December 20th 06 08:19 PM
help question so basic I can not find answer ed101 Excel Discussion (Misc queries) 1 July 26th 05 03:11 AM
So simple I can't find the answer! Mark \(InWales\)[_3_] Excel Programming 3 October 15th 04 07:03 AM


All times are GMT +1. The time now is 11:53 PM.

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"