DCOM98 and EXCEL2000 collision

P

patrick molloy

try changing the first two line from
Dim xl As Excel.Application, i as Integer
Set xl = New Excel.Application

to

Dim xl As object, i as Integer
Set xl = createobject("Excel.Application")

Patrick Molloy
Microsoft Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top