why doesn't this work anymore???

S

SuperMagnetMan

Set myolapp = CreateObject("Outlook.Application")

Ihave used this for years ni office apps to launch outlook from within excel
and word but now in the latest version it doesn't work. Is there something
else that has to be set to make this work? It produces the error "Type
Mismatch" which is, as usual, very helpful. I have the outlook reference
set, is there anything else required. Of course Ihave previously
dimensioned it as an application.

thanks
George
 
S

SuperMagnetMan

Dim myolapp As Application

That is exactly how it appears

George

Thoughts???
 
S

SuperMagnetMan

For reasons that absolutely escape me, the fix is to NOT Dim the object as
an Application. I commented out the line that dimensions the object and the
program worked perfectly like it is supposed to.

Thanks
George
 

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