-
-
Notifications
You must be signed in to change notification settings - Fork 503
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
Run-time error '1004': Cannot run the macro 'xlwings-test.xlsm!ImportPythonUDFs'. The macro may not be available in this workbook or all macros may be disabled. #331
Comments
OK so can you please download and unzip the udf sample from the homepage, and check if it runs OK (change some numbers or click the button) and then click on the import button again to see if you get the same error? Alternatively, click |
It worked. Interesting.. |
So it must have probably been an issue with the xlwings VBA module that you were using. Need to check the template if something has gone wrong there. |
Seems all good. I am closing this issue as I bet there was something wrong with your xlwings VBA module. |
In the meantime I could duplicate the issue...but haven't found the real reason yet. |
you mean replicate / reproduce the issue? |
yes On Mon, Dec 21, 2015 at 3:40 PM, EranBenHorin notifications@github.com
|
This was caused by blanks/dashes in the filename, see also answer on StackOverflow. It is now fixed and will be available with the next release. |
Hi,
I get this error when I do the following:
xlwings template open
x.xlsm
if the python file isx.py
- whilst making sure the two files are in the same directory.I also enabled
Trust access to the VBA project object model
as I should have.Excel version: 15.0.4779.1001 64-bit
xlwings version 0.6.2
Win 8.1.
The text was updated successfully, but these errors were encountered: