You are better off to use late binding. (Bind to the library at run time, not
at design time). Remove the references and use code similar to this
Dim appExcel As Object
Dim appWord As Object
Set appExcel = CreateObject("Excel.Application")
Set appWord = CreateObject("Word.Application")
appExcel.Quit
appWord.Quit
Set appExcel = Nothing
Set appWord = Nothing

Signature
HTH...
Jim Thomlinson
> I have written a macro in Excel 2002/XP which uses different MS Object
> Libraries (Excel, Office & PowerPoint) and it works fine.
[quoted text clipped - 7 lines]
> Thanks in advance
> GoTTi
GoTTi - 13 Sep 2006 07:19 GMT
Thank you, Jim!
I think this did the trick!
Regards,
GoTTi
> You are better off to use late binding. (Bind to the library at run time,
> not
[quoted text clipped - 24 lines]
>> Thanks in advance
>> GoTTi