I have to reproduce the functionality of several add-ins when opening existing Spreadsheets and calculating the results. I have two questions
1) From what I can tell, you can only provide one CustomFunction class to the ‘Calculate’ methods, in which I would do a big switch statement on the functionName for each add-in function I’m implementing? (as opposed to somehow passing in a CustomFunction object for each function I’m reproducing).
2) Additionally, for any functions that aren’t supported yet by us, I would like to get #NAME returned back to Excel, similar to how it behaves natively if you call a function that doesn’t exist. Do I just return “#NAME” or is there a specific exception or Aspose value to return?
Thanks in advance.