Execute Add-In Button from VBA Outlook 2016

Not open for further replies.


New Member
Outlook version
Outlook 2016 64 bit
Email Account
Office 365 Exchange
I have a 3rd Party Add-In installed, I would like to when a new mail added to a folder then to run this button.
I have problem using VBA to locate this button. I try to use

Set g = Application.ActiveExplorer.CommandBars("Standard")
n = g.Controls.Count

to location the control, but it always return 0 and I can't get any control.

Anyone know how can I get this work?
Not open for further replies.