Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 07-18-2021, 06:40 PM
Guessed's Avatar
Guessed Guessed is offline Context Menus - Can I have more than 1 dynamic menu Word? Windows 10 Context Menus - Can I have more than 1 dynamic menu Word? Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,164
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

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>
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Add item to context menu for a specific workbook coffent Excel Programming 8 12-25-2020 09:33 AM
Context Menu Unavailable | Project Pro | Team Planner View JKIT Project 0 12-14-2020 11:28 AM
Powerpoint 2016 RC context menu after update AdamC PowerPoint 0 06-26-2017 11:12 AM
Modify right-click context menu to only allow pasting text derajlance Word VBA 0 05-24-2016 02:25 PM
Call for votes: office 2013 Autocorrect & right click (context menu) franklekens Word 0 09-20-2013 12:09 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:01 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft