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

Name clash in xlwings ribbon #973

Closed
Lobachevsky opened this Issue Oct 30, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@Lobachevsky

Lobachevsky commented Oct 30, 2018

Ribbon.ImportFunctions in CustomUI calls a function in a different add-in!

Suggestion: In the CustomUI XML, change "Ribbon." to a much less generic name, maybe "XLW." Then rename VBA module Ribbon to the same name XLW (or whatever). This fix worked for me. CustomUI XML now looks something like:

<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
  <ribbon startFromScratch="false">
    <tabs>
      <tab id="xlwingsTab" label="XLWings">
        <group id="settingsGroup" label="Python">
          <editBox id="interpreter" label="Interpreter:" onChange="XLW.SetInterpreter" getText="XLW.GetInterpreter" />
          <editBox id="pythonpath" label="PYTHONPATH:" onChange="XLW.SetPythonpath" getText="XLW.GetPythonpath" />
        </group>

.....

@fzumstein fzumstein added this to the v0.13.1 milestone Oct 30, 2018

@fzumstein fzumstein closed this in 27fab43 Nov 4, 2018

fzumstein added a commit that referenced this issue Nov 4, 2018

Merge pull request #980 from ZoomerAnalytics/xlwings-973-ribbon-name
renamed ribbon to prevent name clash, closes #973
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment