Hi all,
On olkexplorer.officeUI (Outlook for Microsoft 365 MSO) I have manually added a dropdown with several items followed by several buttons.
<mso:dropDown id="MydropDown"
label="SOLV Tickets"
enabled="true"
getItemCount="Project1.DDItemCount"
getItemLabel="Project1.DDListItem"
onAction="Project1.DDOnAction">
<mso:item id="item" label="Commercial"/>
.................
<mso:button id="button" label="Commercial" onAction="Project1.EMAIL_SOLV_Tickets.SOLV_Commercial" visible="true" />
.................
</mso:dropDown >
The Project1.EMAIL_SOLV_Tickets.SOLV_Commercial sub successfully creates an email when I click on this button in the dropdown.
However, the DDOnAction macro below does not fire when I select one of these items.
Sub DDOnAction(control As IRibbonControl, ID As String, index As Integer)
MsgBox index
End Sub
Setting up a similar case with excel file works fine, returning the index of the item selected..
Is there a reason why this is failing to work in outlook?
On olkexplorer.officeUI (Outlook for Microsoft 365 MSO) I have manually added a dropdown with several items followed by several buttons.
<mso:dropDown id="MydropDown"
label="SOLV Tickets"
enabled="true"
getItemCount="Project1.DDItemCount"
getItemLabel="Project1.DDListItem"
onAction="Project1.DDOnAction">
<mso:item id="item" label="Commercial"/>
.................
<mso:button id="button" label="Commercial" onAction="Project1.EMAIL_SOLV_Tickets.SOLV_Commercial" visible="true" />
.................
</mso:dropDown >
The Project1.EMAIL_SOLV_Tickets.SOLV_Commercial sub successfully creates an email when I click on this button in the dropdown.
However, the DDOnAction macro below does not fire when I select one of these items.
Sub DDOnAction(control As IRibbonControl, ID As String, index As Integer)
MsgBox index
End Sub
Setting up a similar case with excel file works fine, returning the index of the item selected..
Is there a reason why this is failing to work in outlook?