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
Automation Error while importing UDF into Excel #566
Comments
When you download the Fibonacci sample from the homepage, does that work? |
Hi Felix, yes, this works Vineeth |
ok what about the UDF sample then? if you open it and hit |
hi, when i use Alt-Ctrl-F9, i can see the numbers recalculating, but in the same UDF book, if i click on Import Python UDF, i get the same Automation Error message vineeth |
If you hit |
Hi |
I received same error when my sheet had an existing named range assigned with same name as my function. |
Please check trust access to the VBA project object model option (File > Options > Trust Center > Trust Center Settings > Macro Settings). In my case, even though functions in cell(excel) works well, similar thing happened from above case when I try to execute macro. Or also similar error occurs when you are using function/arg name reserved by excel. |
hi, that works, thank you for your support vineeth |
Which version of Excel are you using, @vineethbabu4424 ? That error should be shown explicitly. |
i'm using Excel 2013 pro plus 32 bit vineeth |
were you ever able to make it work? |
I had this message for various reasons:
|
Closing this issue as I assume one of the suggestion by ilrico solved it. Feel free to reopen. |
Hi I experience this problem when I add a controlformat object (a dropdown box) in my code and I reference that in my py-code. Example:
Do you have an example (or reference to your course material ;-)) which can guide me? (Before I add the reference to the dropdown there is no problems) Thx in advance |
I had the same issue. I used an argument called "date" in my UDF function. I suppose it's a reserved name by Excel. I changed the argument name and it worked. Thks a lot. |
i created a file using the "xlwings quickstart" command and added the following function in the python file
when i try to import this udf into the excel file, i get a Runtime error 440 Automation error
I am using Python 3.5.2 (32 bit )
my excel is 32 bit pro plus
The text was updated successfully, but these errors were encountered: