Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 03-19-2023, 03:24 AM
Italophile Italophile is offline Dissociate instance of a custom ribbon, for documents based on the same dotm creation template? Windows 11 Dissociate instance of a custom ribbon, for documents based on the same dotm creation template? Office 2021
Expert
 
Join Date: Mar 2022
Posts: 563
Italophile is just really niceItalophile is just really niceItalophile is just really niceItalophile is just really nice
Default

The ribbon is an application object, not a document object.

Your code needs to handle the DocumentChange event so that you can refresh the ribbon when the active document changes.

Your toggle buttons also need to have GetPressed callbacks so that the button reflects the current state of the property that is being toggled.
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dissociate instance of a custom ribbon, for documents based on the same dotm creation template? Is it possible to choose another NORMAL.DOTM in WORD as template for merge documents using VBA? DDouma1964 Word VBA 1 08-17-2022 08:18 AM
Automatic link creation, after writing: Link text in main body (multiple instances) mike_302 Word VBA 2 07-05-2021 12:28 AM
Dissociate instance of a custom ribbon, for documents based on the same dotm creation template? Word Custom Ribbon In .dotm - How to edit/create? s0me0nesmind1 Word 6 04-16-2020 04:10 PM
Dissociate instance of a custom ribbon, for documents based on the same dotm creation template? Create custom quote based on template torma156 Word 3 09-06-2015 11:04 AM
Dissociate instance of a custom ribbon, for documents based on the same dotm creation template? Documents hung up, Word won't close due to "Changes made..to global template Normal.dotm" pagskg Word 2 07-23-2014 12:54 PM

Other Forums: Access Forums

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