I have created an UDF in python and trying to use it in excel. I am facing "object required" issue while using this UDF in xlwings in some excel files while at other excel files there is no issue at all.
I am taking all the measures as suggested in xlwings documentation such as:
- xlwings add-in is installed successfully
- Excel in which I am working is saved as XLSM (Macro Enabled Workbook) file
- xlwings is referenced to a VBA Project (alt + F11--> Tools--> References )
- Trust Center Logging enabled
What must be reason for this mysterious behavior?