Paul,
I don't think this is possible, at least in a reliable way. To do so, you'd
have to use GetObject to get a reference to the other instance of Excel, but
there is no way to tell GetObject which instance of Excel to reference. As
likely as not, you'll get a reference to the instance that contains the
GetObject statement, not the other instance.
--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
(email address is on the web site)
"Paul" <(E-Mail Removed)> wrote in message
news:8C9DE8F5-2674-4ED1-BCE3-(E-Mail Removed)...
> Is it possible to create a macro in one instance of excel to call/elecute
> another macro in another instance of excel??
>
> Say the first instance macro is first_instance.xls!macro1 and the second
> instance macro is second_instance.xls!macro2. Both files are on the
> desktop
> of one machine.
>
> The two macros are outside each other's scope, but is it possible to call
> one from the other anyway???
>
> What would the calling code line say?
>
>