Dont know how to get round this Library Issue

Sahil123

Well-known Member
Joined
Oct 31, 2011
Messages
673
Hi

My workplace have updated our microsoft version and we have now moved to 2015 however outlook is still on 2013

Now in the tools Ref - I cant find the option for outlook 2013 and only have 2015 so with this line of code

Dim outapp as object
Set outapp = createobject("outlook.application")

I am getting an application error. How can i get round this?
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
It may not be there anymore - don't see why you'd need it since it would be backwards compatible.
Did you set the reference to what you have or not?
Reference not set (late binding)
Dim outapp as object
Set outapp = createobject("outlook.application")

Reference set (early binding)
Dim outapp as object
Set outapp = createobject New Outlook.Application
 
Upvote 0
The only way I can think of to get it back is to ask your admin to reinstall it as it is likely gone from your system. For 2007, it's MSOUTL.OLB.
However, this can also be caused by the library not being registerd, or you don't have the necessary permissions. As noted, new versions are usually backwards compatible, so I'd lean toward thinking there is another issue at play.
 
Upvote 0

Forum statistics

Threads
1,221,829
Messages
6,162,232
Members
451,756
Latest member
tommyw

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top