Search code examples
udfxlwings

xlwings(0.7.0) importing UDF error


Error

Hello,

My problem is that when i try to import an UDF in Ecxel 2013 I receive the error message can be seen on the picture. I have installed xlwings and it works except the UDF importing. Note that i used "xlwings quickstart myproject" so there is no problem with the file names and i also used the sample function so that should be fine as well

Thank you in advance for your help!


Solution

  • I currently don't understand why you get that error, but I should be able to tell you how you can work around it for now:

    Open the file udfs.py in the xlwings package and remove the last argument on line 36, i.e. remove , ArgumentDescriptions=argdocs.

    The intended functionality of that line (showing function argument description) is currently broken anyway (see here) so hopefully this will be resolved in a future version.