Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #6  
Old 03-23-2023, 05:32 AM
Ddadoo57 Ddadoo57 is offline The <toggleButton.../> of the first document open crashes word when closing the second on Windows 11 The <toggleButton.../> of the first document open crashes word when closing the second on Office 2021
Advanced Beginner
The <toggleButton.../> of the first document open crashes word when closing the second on
 
Join Date: Feb 2023
Posts: 90
Ddadoo57 is on a distinguished road
Default

After recoding my button group (only one selected TB at a time), plus adding a variable and managing it to indicate the selected TB of the current document (ActiveDocument.Variables.Add Name:="TBx" & ActiveDocument.Name, Value:="BT1 or....") and activeDocument.Variables("TBx" & ActiveDocument.Name).Value = "BT1 or...", everything seems to be working fine for the open documents.

While waiting to optimize better the code, I use this solution.

Good luck to you and thanks again for your help!
David
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 09:49 AM.


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