dear support,
Hi Guido,
Thanks for using Aspose.Cells.
By user defined function, you mean the custom function. Aspose.Cells has provided the ICustomFunction interface which can be used to define and calculate user defined function.
Please see this article that explains the ICustomFunction feature and how to implement it inside your code.
( Using ICustomFunction Feature|Documentation )
ok thank you for the info.
Hi guido,
Thanks for your posting and using Aspose.Cells.
Please provide us some Excel file with some sample UDF function so that we load it using Aspose.Cells and check the behavior of Aspose.Cells how it treats your UDF function. We will investigate it and update you asap.
Thanks for your cooperation.
I have attached an example VB .NET code to create an Excel UDF. It is based on the ExcelDNA framework. There are three resulting files ( a dll, a dna and a xll file ). These files are to be stored somewhere on a directory.
Hi,
Thanks for your posting and using Aspose.Cells.
I have tried to run your program but it seems it is class library instead of console application and also it is missing a reference as shown in the attached screenshot.
However, user defined functions are executed by Aspose.Cells using the ICustomFunction interface and you have successfully experimented with it as I have seen your following post where you have provided a sample project running the ICustomFunction interface.
( ICustomfunction : returning a range and not a single cell )
yes, I am now using a workaround as Aspose.cells does not support user developed UDF’s.
Hi Guido,
Thanks for your confirmation and using Aspose.Cells.
Please follow your other thread, we will log your requirement once you will provide us the expected pdf. Let us know if you encounter any other issue, we will be glad to look into it and help you further.