-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to reload excel ribbon dynamic dropdown boxes #232
Comments
@michael-hgl This is not the proper place to ask this. This repo is only about Office RibbonX Editor, not VBA programming. You should ask this on stackoverflow or a dedicated forum (mrexcel.com, excelforum.com ...). I will answer your question but in the future please don't put off-topic question here. You need to use the OnLoad callback to store your ribbon object. Then, at any time in your VBA code you can call Ribbon.InvalidateControl(dropDownId) to invalidate just your drop down menu, or Ribbon.InvalidateRibbon() to invalidate the entire ribbon. The next time Excel needs to display an invalidated control, it will call its callback again. You may search for community posts about these topics and read the official documentation about ribbon customization
|
The VBA ribbon callback functions load the dynamic dropdown boxes when
you first select your Tab on the Excel ribbon.
But I need to know how to later clear and reload these dropdown boxes with
different info.
Anybody know how to do this or point me to some info?
Thanks,
Michael
The text was updated successfully, but these errors were encountered: