Skip to content

Name clash in xlwings ribbon #973

@Lobachevsky

Description

@Lobachevsky

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>

.....

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions