-
Notifications
You must be signed in to change notification settings - Fork 300
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
Idea: add a feature to disable app on VBA for some applications? #6146
Comments
I am not quite sure what the suggested feature entails, but as I understand it, it affects the host app. Assuming that is the case, this would be out of scope. Rubberduck is intended basically exclusively for improving the VBE, i.e. the actual editing environment for VBA, independent of which host app is hosting the vba code. |
The VBE doesn't know there's a difference between The exception on close seems like some internal background process is trying to disable a CommandBar control - could be a bug in the teardown sequence where we're accidentally responding to an event and try to disable the "current selection" label (just a hypothesis) but the label/button has already been destroyed. As for the feature request, I think it could make sense to have a list of host apps in the configuration with their respective "enabled" state - Rubberduck could read that configuration before it even checks whether to display a splash screen, and skip initialization when the host is "disabled". |
If
Pity that it is impossible to get name of main app. I assumed that the error may be related to manual settings of ribbon menu.
It would be great to have such an alternative. |
The exception on shutdown is the same as in #6150. I think that has nothing to do with the ribbon. |
RD3 will also systematically load the add-in in all VBE hosts, however it's no longer going to be the VBE that determines what project(s) you're working with, and you're not going to be editing a RD3 project in the VBE most of the time (beyond edit-and-continue while debugging, that is); as such, implementing disabled hosts in 2.x would probably make sense, but it's going to be moot in v3 since you'll always be deciding what project(s)/workspace(s) to load in the Rubberduck Editor. |
Justification
Word 2019 has installed a DOT template with old macros. After converting to new format DOTX and adding buttons to the ribbon, modules with macros are no longer available in VBA.
Description
Can you add a checkbox setting to disable app on VBA for some applications?
Additional context
Error when trying to close Word (with app installed)
Export ribbon settings
The text was updated successfully, but these errors were encountered: