Forum Discussion
666_666666
May 27, 2023Copper Contributor
VBA excel dropDown customUI trouble
SelectedIndex = None
InvalidateControl this "code" deactivates the item in the dropdownlist , but there is no redrawing (the list item is not active, but is displayed) #according to ...
NikolinoDE
May 28, 2023Platinum Contributor
Here is an example of VBA code that makes a custom tab the active tab using the ActivateTab method of the IRibbonUI object:
Public myRibbon As IRibbonUI
Sub tabActivate(ByVal control As IRibbonControl)
myRibbon.ActivateTab(control.ID)
End Sub
untested.
666_666666
May 29, 2023Copper Contributor
That's not gonna work.