View Single Post
 
Old 03-21-2023, 05:34 AM
Ddadoo57 Ddadoo57 is offline Windows 11 Office 2021
Advanced Beginner
 
Join Date: Feb 2023
Posts: 71
Ddadoo57 is on a distinguished road
Default

Hi Italophile and Guessed!

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