4

I have a library of functions written in JavaScript, for example myfactorial(n) can caculate the factorial of n in my way.

I would hope to develop an add-in by JavaScript API for Excel, such that once a user loads the add-in, they could use the embedded functions, e.g., write in a formula: =myfactorial(A2) or =callfunction("myfactorial", A2). In short, it is about supporting User Defined Functions by JavaScript API for Excel, I guess they are asking the same thing here.

So, does any know how is the progress? Otherwise, is there some workaround that we could do?

1 Answer 1

5

Thanks for this question! User-defined functions are a central part of Excel customization today. We're working on a solution that will bring those capabilities across all our modern Excel platforms. We're still figuring out the design, so unfortunately I don't have a timeline or details to share right now. I'll give an update in a few months.

-Michael, PM for Office add-ins

Update 11/6/17: JavaScript custom functions in Excel are now available in Developer Preview for anyone to try: https://aka.ms/customfunctions

Sign up to request clarification or add additional context in comments.

6 Comments

Any news regarding the subject of creating user defined functions ?
We've continued our work in this area, and it's still a priority for our team. We're looking forward to sharing more but right now I don't have announcements about the feature or release dates.
@MichaelSaunders It seems that there is some update?
Update: it's live in Developer Preview! Please try it and send your feedback: aka.ms/customfunctions
is this also available for Excel Online? (I could not find the docs explicitly stating that [I am still trying to learn to read the docs, but I am not so good at it])
|

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.