Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #15  
Old 04-30-2021, 09:18 AM
Charles Kenyon Charles Kenyon is offline RibbonX Editor - change Icon for custom AutoText Gallery Windows 10 RibbonX Editor - change Icon for custom AutoText Gallery Office 2019
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,533
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

See Templates.LoadBuildingBlocks Method. For building blocks to become active (and thus the galleries to become active) Word has to load the building blocks. Put that in an AutoExec, AutoOpen, or AutoNew procedure for your template.

Here is a temporary link to a modified version of your template with those codes. They do not work and I do not know why. I have to get back to practicing law.
I added two more BB Gallery CCs in the document because your first one is not working for me. Once you activate building blocks, the controls in the Ribbon become active.

However, I did change the icons on the gallery buttons. Once the BBs are loaded, they are active and do access the galleries. I used built-in images. A custom image would not work.
Code:
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
  <ribbon>
    <tabs>
      <tab id="Tab" label="Custom1" insertBeforeMso="TabHome">

           <group id="Group2" label="LL" >
                 <gallery idMso="CustomAutoTextGallery" label="Custom AutoText" size="large"
                    imageMso="GoToMail" />
                 <gallery idMso="CustomGallery4" label="Custom 4" size="large"
                    imageMso="PageOptionsDialog" />
           </group>
       </tab>
    </tabs>
  </ribbon>
</customUI>

Last edited by Charles Kenyon; 04-30-2021 at 08:17 PM.
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Making AutoText entries available to the Outlook email editor Jennifer Murphy Word 8 01-03-2017 03:51 PM
RibbonX Editor - change Icon for custom AutoText Gallery Word 2013: My custom table styles disappeared from Gallery sinz54 Word Tables 1 03-13-2015 05:02 PM
RibbonX Editor - change Icon for custom AutoText Gallery Custom UI Editor - 2013 ptmuldoon Word 3 02-04-2015 06:55 AM
RibbonX Editor - change Icon for custom AutoText Gallery Custom Header Gallery Quick Part Displays > in 2007 but not 2010 sleake Word 4 10-23-2013 07:10 AM
RibbonX Editor - change Icon for custom AutoText Gallery Need help with custom UI image gallery ribbon pfiggy PowerPoint 3 04-28-2013 07:13 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:25 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