VBA to suppress the "Microsoft Azure Information Protection" dialog box when sending workbook as an Outlook email

Amir 36 Reputation points
2021-11-04T09:20:52.25+00:00

Hi,

I have an Excel workbook that sends an image of one its worksheets as an Outlook email. Everything is working fine apart from the Microsoft Azure Information Protection appearing when the (Mail) Send method is called.

How can I supress this dialog box from VBA so it doesn't interfere with the Send method?

146479-microsoft-azure-information-protection.png

Microsoft 365 and Office | Development | Other
{count} vote

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.