Outlook.Application now produces error

Status
Not open for further replies.

avant-guvnor

New Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
Today my Office 365 updated automatically to version 16.0.8625.2121.

Now all my vba code in Outlook 2016 with:
Dim oOutlook As Outlook.Application
and
Set oOutlook = CreateObject("Outlook.Application")

produces the following error on the Set statement:



is anyone else getting this or does anyone have a solution?
 

Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
An Excel macro I'm helping a guy with uses this and its working in current versions. (The first should be GetObject if outlook is open, then create it if it's not open but its his macro and it works...)

Set olApp = CreateObject("Outlook.Application")

If olApp Is Nothing Then
Set olApp = CreateObject("Outlook.Application")
-- snip--
 

avant-guvnor

New Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
Are you running the macro from outlook or calling it from another program?

i use this this form in outlook macros:
Set oOutlook = Outlook.Application
All code is running from a macro in Outlook 2016. Code has worked for years until the recent Office 365 update.

Changed all Set oOutlook = CreateObject("Outlook.Application") to Set oOutlook = Outlook.Application. Code is now working. Still, it does not explain why/what changed in the Office 365 update.
 

Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
I believe it might be related to the security changes they made in the last couple of updates, but don't recall changes to createobject mentioned - might have missed though as i was distracted by an illness/death in our extended family.
 

avant-guvnor

New Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
I believe it might be related to the security changes they made in the last couple of updates, but don't recall changes to createobject mentioned - might have missed though as i was distracted by an illness/death in our extended family.
Thank you for the info and sorry for your loss.

Keep up the good work. All the best.
 
Status
Not open for further replies.
Thread starter Similar threads Forum Replies Date
Y VBA - Application Filedialog Hidden Behind Outlook Using Outlook 0
T Synchronize outlook appointments through web application. Using Outlook 1
O Outlook 2010 Stops Working When Accounting Application Tries To Send eMail Using Outlook 4
C MAPI to access a 64 bit Outlook from a 32 bit application; or access via ODBC Using Outlook 0
J Delays when changing from one application to another in Outlook Using Outlook 2
T How can I send e-mail from an Access 2010 application using Outlook not CDO Using Outlook 1
B OUTLOOK 2010 Set up wrong and now can't open application to fix it... Using Outlook 1
K Outlook 2007 - error opening the application Using Outlook 1
A Access 64 bit Outlook 2010 from 32 bit C++ application Using Outlook 1
N Business Application for Master Category List in 2010 Outlook's Business Contact Manager Using Outlook 1
U Outlook 2003- Incompatible Application - Using Outlook 1
S Error 'outlook cannot launch an application to handle d:\xxxxxx' when try to insert file. Using Outlook 1
K Cannot start Microsoft Outlook. Cannot open the Outlook Window. Incompatible application Using Outlook 1
W 'Windows Application Error 0Xc00000a5” error opening attached files or email link in Outlook Using Outlook 1
M On exiting Outlook 7 the application recovers and restarts Using Outlook 2
7 Faulting application outlook.exe, Stamp 4bf5c678 Using Outlook 6
T outlook\outlook.pst\ is in use and could not be accessed. Close any application that is using this f Using Outlook 6
J access to 'Local Settings\Application Data\Microsoft\Outlook' folders in Win XP Using Outlook 1
J Outlook Social Connector listed as Inactive Application Add-In. Using Outlook 1
T Outlook 2007 Master Category List problem in combination with Citrix Published Application Using Outlook 2
J I want use Microsoft Outlook 2003 as my main mail application what kind of server type do i use, and how do I set it up Using Outlook 1
G Re: message in "Click-to-run Application Manager": Microsoft Outlook 2010 cannot be opened. Try agai Using Outlook 2
M Faulting application outlook.exe__ Using Outlook 3
G Outlook '07 causes Event Errors 34 & 35 in the Application Log Using Outlook 4
R Outlook 7 application won't open. This worked ok until today. Using Outlook 0
E ID: 6, Application Name: Microsoft Office Outlook, Application Version: 12.0.6514.5000, Microsoft Office Version: 12.0.6425.1000. This session lasted Using Outlook 1
O Outlook Web Access generates Server Error in '/owa' Application Using Outlook 7
S Cannot open default e-mail folders. The file c:\documents and settings\blahblah\local settings\application data\microsoft outlook\info_myemail.ost is Using Outlook 0
A turn Outlook into a Drag-and-drop application Outlook Wishlist 2
D Outlook 2007 Will Not Send Mail From C# Application Outlook VBA and Custom Forms 7
P Supporting threads in Outlook VBA application Outlook VBA and Custom Forms 1
D outlook.exe application error - breakpoint has been reached. fix? BCM (Business Contact Manager) 1
P Drag and Drop mails from Outlook to Clarion6 Application Outlook VBA and Custom Forms 5
J Outlook 2010 Outlook/Win7 Client logging Event ID 36887 Using Outlook 0
R How to get the Items object of the default mailbox of a specific account in a multiple account Outlook? Outlook VBA and Custom Forms 0
T Why does outlook 2010 convert only some forum notifications to plain text? Using Outlook 0
M In Outlook Calendar remove the buttons: 'Today' and '<' (Back a day) and '>' (Forward a day) that are below the Ribbon and above the calendar display. Using Outlook 0
J Moved many emails to Outlook external folder, need to delete on Gmail server Using Outlook 11
P Scheduling a meeting in Outlook Outlook Wishlist 4
I Error saving screenshots in a custom form in outlook 2016, outlook 365 - ok in outlook 2013, outlook 2010 Outlook VBA and Custom Forms 5
R Outlook 2019 Using Outlook 0
N Outlook Has Become Sluggish Using Outlook 14
HarvMan Outlook 365 Calendar Using Outlook 12
A calendar invites sent from Microsoft Outlook to Mac Outlook is not working Calendar Printing Assistant 2
L Outlook 2016 Contacts missing in Outlook 365 Using Outlook 1
R seperate read layout to design in outlook 2016..Help!! Outlook VBA and Custom Forms 3
A Outlook replies not using "delivered to" address in From Using Outlook 1
GregS Why is Outlook 2016 mail in Outlook.com? Using Outlook 1
G Recurring tasks break links Outlook 2016 Using Outlook 5
L Outlook saved email templates Using Outlook 1
Similar threads


















































Top