Forum Discussion
GaetanDolige
Dec 11, 2023Copper Contributor
CreateObject("Outlook.Application") with New Outlook
Hello, I've just noticed that when using the New Outlook, the VBA command CreateObject("Outlook.Application") generates the following error: "-2146959355 (80080005) Server execution failed". Am...
GaetanDolige
Copper Contributor
Sorry, I didn't see your response.
I absolutely agree with your answer.
This is becoming problematic and no solution found at the moment...
HansVogelaar
Feb 21, 2024MVP
New Outlook does not - and will not - support COM automation, since it is intended as a platform-independent app. COM automation depends on locally installed code libraries that work only on Windows.
- GaetanDoligeFeb 21, 2024Copper ContributorHello Hans,
Thank you for this information.
Is there an equivalent to work around the problem?- HansVogelaarFeb 21, 2024MVP
See for example Sending Emails from Access with VBA and CDO (applies to Excel too) and VBA CDO Email setup for Office365 Exchange