Skip to content
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

Error when launching pycel from pyxll add-in #1

Closed
maxmanfren opened this issue Mar 18, 2012 · 3 comments
Closed

Error when launching pycel from pyxll add-in #1

maxmanfren opened this issue Mar 18, 2012 · 3 comments

Comments

@maxmanfren
Copy link

Hi,
when I launch the cell compilation (Compile selection) from excel 2007 using the pyxll add-in I get the following error (it pop-up one menu):

—————————
PyXLL Error
—————————
Error calling function for menu item Compile selection

[global name 'excellib' is not defined]
—————————
OK
—————————

I don't know how to solve this problem, which is related with the global/local role of the file excellib. Thanks a lor for the help

@maxmanfren
Copy link
Author

The problem was simply related to the presence in the file "excelcompiler.py" of both "import excellib" and "from excellib import *" commands, I simply deleted "import excellib" and now everything seems to work fine

@dgorissen
Copy link
Owner

Great that you fixed it and sorry for not coming back to you sooner. I have been ill for a while and been away on a conference as well. Thanks for reporting back.

@maxmanfren
Copy link
Author

Hi Dirk, I have to apologize but the code was correct I run on another pc with Python(xy) and it works correctly (maybe the problem was only related with running it directly from Excel.

dgorissen added a commit that referenced this issue Mar 23, 2012
dgorissen pushed a commit that referenced this issue Sep 15, 2015
stephenrauch pushed a commit that referenced this issue Jun 12, 2021
Added pv function and functionality for Marain development
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants