Hello everyone,
I have a custom ribbon, in which one button triggers opening a UserForm, which is not modal.
Then I would like to disable certain other buttons in my ribbon before the UserForm is shown.
I have the following code:
"ribbonRefresh" does call![]()
Call ribbonRefresh Call UserFormFoo.Show(vbModeless)
to update the ribbon. Also, I have the necessary "GetEnabled" sub in my ribbon handling module (this works as expected).![]()
ribbon.Invalidate
But the buttons in the ribbon do not get disabled when the code is run.
However, if I set a breakpoint in my "GetEnabled" sub the buttons get disabled.
Any help would be appreciated.
Thanks in advance.
Bookmarks