View Single Post
 
Old 07-18-2021, 09:01 PM
jec1 jec1 is offline Windows 7 32bit Office 2013
Advanced Beginner
 
Join Date: Jan 2012
Posts: 84
jec1 is on a distinguished road
Thumbs up Context Menu - Perfect Answer

Quote:
Originally Posted by Guessed View Post
Ohh, I see what you have done. You CAN have more than one dynamic menu but you probably CAN'T have more than one section for the context trigger. This bit is where I believe you went wrong. See below for your current Ribbon code structure.
Code:
<contextMenu idMso="ContextMenuText">
  <dynamicMenu id="rxRS1DynamicMenu1" label= "MACROS"  getContent="rxRS1dynamicMenuContent" insertBeforeMso="Cut"/>					
</contextMenu>
'... lots of code
<contextMenu idMso="ContextMenuText">
  <dynamicMenu id="rxRS2DynamicMenu1" label= "NUMBERING" getContent="rxRS2dynamicMenuContent" insertBeforeMso="Cut"/>
</contextMenu>
What you should have is:
Code:
<contextMenu idMso="ContextMenuText">
  <dynamicMenu id="rxRS1DynamicMenu1" label= "MACROS"  getContent="rxRS1dynamicMenuContent" insertBeforeMso="Cut"/>					
  <dynamicMenu id="rxRS2DynamicMenu1" label= "NUMBERING" getContent="rxRS2dynamicMenuContent" insertBeforeMso="Cut"/>
</contextMenu>

Thank you works now and I can still use Case Select.
Reply With Quote