A
Anita
hi all,
I am creating a Context Menu using following code:
CustomContextMenu = applicationObject.CommandBars.Add("ContextMenu",
Office.MsoBarPosition.msoBarPopup, missingValue, false);
Office.CommandBarButton contextMenuOption=
(Office.CommandBarButton) customContextMenu.Controls.Add
(Office.MsoControlType.msoControlButton, missingValue, missingValue,
missingValue, missingValue);
I want to add a splitter between 2 options of ContextMenu. i
tried giving caption as "-". However it does not work.
Any pointers on this would certainly help.
Thanks,
~Anita
I am creating a Context Menu using following code:
CustomContextMenu = applicationObject.CommandBars.Add("ContextMenu",
Office.MsoBarPosition.msoBarPopup, missingValue, false);
Office.CommandBarButton contextMenuOption=
(Office.CommandBarButton) customContextMenu.Controls.Add
(Office.MsoControlType.msoControlButton, missingValue, missingValue,
missingValue, missingValue);
I want to add a splitter between 2 options of ContextMenu. i
tried giving caption as "-". However it does not work.
Any pointers on this would certainly help.
Thanks,
~Anita