Hi, I'm getting the following error message when running a VBA macro in excel 2010,
"Run-time error '-2147417848 (80010102)':
Automation error
The object invoked has disconnected form its clients. "
The issue is that on excel 2007 the macro works perfectly, however I've tried to run the same macro in two different computers that have excel 2010 and I can't get the macro to work. On one of the computers I get a different error related to "not enough resources" (even though nothing is running on the background)
On both computers the macro stops in the same point:
The macro is very complex and this is just part of it. I've seen that in some cases the solution is to add "Option Explicit" at the top of the module but it is already there.
"Run-time error '-2147417848 (80010102)':
Automation error
The object invoked has disconnected form its clients. "
The issue is that on excel 2007 the macro works perfectly, however I've tried to run the same macro in two different computers that have excel 2010 and I can't get the macro to work. On one of the computers I get a different error related to "not enough resources" (even though nothing is running on the background)
On both computers the macro stops in the same point:
Code:
Cells.Select
Selection.Sort Key1:=Range("A" & iRow), Order1:=xlAscending, header:=xlYes, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom
The macro is very complex and this is just part of it. I've seen that in some cases the solution is to add "Option Explicit" at the top of the module but it is already there.
Last edited: