Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 03-14-2023, 03:49 PM
Guessed's Avatar
Guessed Guessed is offline The <toggleButton.../> of the first document open crashes word when closing the second on Windows 10 The <toggleButton.../> of the first document open crashes word when closing the second on Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,185
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

I would need to do some testing on your template because I don't have much experience with custom toggle buttons in a ribbon.

Perhaps the solution is to create a Class Module and use the WindowActivate event to refresh the ribbon as you change active documents.
See Writing application event procedures for working with Class Modules.

If you can't find a solution with the ribbon refresh suggestion, the bible for all things Ribbon is a book called RibbonX: Customizing the Office 2007 Ribbon by Teresa Hennig, Robert Martin, Ken Puls. It is the next place I would look to see what they have to say about toggleButtons.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Open e-mails closing when moving them to a folder Tomtom Outlook 0 11-14-2019 07:27 AM
The <toggleButton.../> of the first document open crashes word when closing the second on Word crashes if the merged document file is closed first reidtaylor Mail Merge 7 05-07-2019 04:19 AM
The <toggleButton.../> of the first document open crashes word when closing the second on Document Crashes Word after update mjiskoot Word 1 11-12-2018 03:22 PM
Word 2004 Crashes, But Only With One Document Lee Charles Kelley Word 1 08-18-2011 12:28 PM
The <toggleButton.../> of the first document open crashes word when closing the second on Word crashes when closing mbjackson Word 1 02-06-2010 01:01 AM

Other Forums: Access Forums

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