I'm trying (so far unsuccessfully) to create a SplitMRUPopup type control on a Command Bar in an Outlook Add-in written in VB
. Documentation is really crappy on the use of the different types of command bar controls. Basically, I can get a drop-down popup menu of buttons with:
Set bar = m_ActiveExplorer.CommandBars.Add("TEST")
Set pop = bar.Controls.Add _
Set btn = pop.Controls.Add(Office.MsoControlType.msoControlB utton)
but as soon as I introduce the msoControlSplitButtonMRUPopup type in the Set pop... line, I get an Invalid procedure call error.
Any ideas, suggestions forthcoming will be greatly appreciated.
Performance Solutions, Ltd.