custom-functions-excel

Office JS: Problems when Addin is executed in multiple Excel instances

荒凉一梦 提交于 2020-05-16 06:31:09
问题 I have problems executing an office addin in multiple Excel instances. One stops running when both are executed hat the same time. I did 2 quick ScriptLab samples, where you can reproduce some issues (I pasted them). One contains an UDF-Function, just register it in ScriptLab. The other on is a sample which produces one of my problems. First register the UDF, than before using the second part, create 2 workbooks with each having 100 worksheets that contain the following function (depending on

Is there a way to use Excel.run() inside Custom Function?

北战南征 提交于 2020-03-05 06:09:11
问题 As a result of my Custom Function I want to fill few worksheet cells, taking cell that the function was invoked as a base cell. I have to return some complex data, that wouldn't fit in one cell. So the question is: is there a way to use Excel.run() inside the Custom Function? Or is there a way to return more complex data (objects, array of objects) as the return value of Custom Function? This is simple example of what I'm trying to do, but it doesn't work: /** * Adds two numbers. *

Unable to get POST request working in Excel custom functions

帅比萌擦擦* 提交于 2020-02-06 06:40:09
问题 We are currently implementing custom functions in our app, and have been unable to get POST requests working. What we have tried : POST using fetch (exact function works in latest Chrome) POST using axios, and transpiling down (exact function works in latest Chrome) Adding and removing cors() middleware on our backend expressjs server Are we missing an implementation detail? I read something brief about simple CORS, but wanted to reach out to see if there was a piece we are forgetting. 回答1:

How to see excel API results, custom functions in excel sheet(cell) through Script Lab, instead of console log?

被刻印的时光 ゝ 提交于 2019-12-24 07:35:50
问题 I am using Script lab in office 365 and facing difficulty in writing a function which fetches data from API(url). I need help in merging the below code with custom function in Java Script. from the below code that I am able to get API results in script lab console but I want final results in excel screen(cell). Currently I can see all the ticker.name instead of specific. var request = new XMLHttpRequest(); request.open("GET", "https://api.coinmarketcap.com/v1/ticker/", true); request.onload =

Submit add-ins with custom functions (update?)

只愿长相守 提交于 2019-12-19 17:41:48
问题 I asked a question regarding submitting add-ins with custom functions 6 months ago. The conclusion at the moment was an add-in that uses custom functions cannot currently be published to the Office Store or via Office 365 centralized deployment. But I realize that the document has changed, now it is Known issues ... ... Deployment via the Office 365 Admin Portal and AppSource are not yet enabled. Moreover, I found the new functions button in Script Lab. Users could register a function like

Add excel custom functions to an existing excel add-in - Javascript Api

橙三吉。 提交于 2019-12-06 15:56:45
问题 I have an existing excel add-in with UI (using react) and I would like to add some custom functions to it. When I add the add-ins in separate both work fine but when I try to merge them the custom functions don't appear. I assume that my issue is on the manifest but I'm not sure what is it: I added the custom functions extension point, added the custom functions bit to the resources Urls and ShortStrings and replaced the html source location of the cf to be the task pane html. Here is my

Add excel custom functions to an existing excel add-in - Javascript Api

筅森魡賤 提交于 2019-12-04 20:40:50
I have an existing excel add-in with UI (using react) and I would like to add some custom functions to it. When I add the add-ins in separate both work fine but when I try to merge them the custom functions don't appear. I assume that my issue is on the manifest but I'm not sure what is it: I added the custom functions extension point, added the custom functions bit to the resources Urls and ShortStrings and replaced the html source location of the cf to be the task pane html. Here is my manifest: <?xml version="1.0" encoding="UTF-8"?> <OfficeApp xmlns="http://schemas.microsoft.com/office

Submit add-ins with custom functions

眉间皱痕 提交于 2019-12-04 05:31:50
问题 In this doc, it is mentioned that The following features aren't yet supported in the Developer Preview. ... ... Publishing add-ins to the Office Store or Office 365 centralized deployment that use custom functions. I just want to make sure it means that at the moment we cannot submit to Office Store any add-in that has custom functions; what we can do is only internally deploying add-ins with custom functions, right? 回答1: Your interpretation of that guidance in the documentation is correct. i