We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Macro4 and userdefined functions

Still evaluating Aspose.cells

First Problem:
German Excel -> You define a Name lets say “Calc” and assign:
in Excel Table Tabelle1 you asign 1+1 to F2 and in G2 = Calc the result is 2 in G2
Now Aspose.cells reads the Workbook, Change F2 to 1+1+1
After doing a Workbook.CalculateFormula the Value in G2 is #NAME?

Second Problem is similar:
Using userdefined Funktions will result in the same #Name Problem.

My question:
Are Macro4 Functions a Problem for Aspose.cells
Are Userdefinde Functions a Problem for Aspose.cells



Thanks for sharing some details.

Aspose.Cells does not support to execute/run vba codes or macro functions although we have supported to create, manipulate or embed VBA codes/ macros in MS Excel files. I think currently, you may try to use/set Custom Functions (if in those macros you manipulate some custom oriented formulas/functions) to support your requirements by Aspose.Cells APIs if it could suit your needs, see the documents for your reference here:

If you still find any issue, kindly do provide us sample code (runnable) and attach your template file(s) to show the issue, we will check it soon.