Excel-Custom-Functions | Learn about custom functions in Excel | Data Manipulation library

 by   OfficeDev TypeScript Version: 77366 License: Non-SPDX

kandi X-RAY | Excel-Custom-Functions Summary

kandi X-RAY | Excel-Custom-Functions Summary

Excel-Custom-Functions is a TypeScript library typically used in Utilities, Data Manipulation, Pandas applications. Excel-Custom-Functions has no bugs, it has no vulnerabilities and it has low support. However Excel-Custom-Functions has a Non-SPDX License. You can download it from GitHub.

Learn about custom functions in Excel.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              Excel-Custom-Functions has a low active ecosystem.
              It has 295 star(s) with 62 fork(s). There are 47 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 0 open issues and 135 have been closed. On average issues are closed in 123 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of Excel-Custom-Functions is 77366

            kandi-Quality Quality

              Excel-Custom-Functions has no bugs reported.

            kandi-Security Security

              Excel-Custom-Functions has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              Excel-Custom-Functions has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              Excel-Custom-Functions releases are available to install and integrate.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Excel-Custom-Functions
            Get all kandi verified functions for this library.

            Excel-Custom-Functions Key Features

            No Key Features are available at this moment for Excel-Custom-Functions.

            Excel-Custom-Functions Examples and Code Snippets

            No Code Snippets are available at this moment for Excel-Custom-Functions.

            Community Discussions

            QUESTION

            Reloading Custom Functions in Excel Add-In - Online Version
            Asked 2021-Feb-04 at 19:21

            I am working on an Excel Add-In with custom functions using the Javascript API. I have followed this tutorial.

            I am trying to debug this using the Web version of Excel as the logging capabilities are significantly better, however I am finding that it will never register changes in my functions.ts file. I can change any other code file (eg. taskpane.ts) and will see the changes reflected immediately, however whenever I try to reload the custom functions, I do not see any of the changes.

            The commands I'm using: npm run build followed by npm run watch in one terminal, npm run start:web in another.

            This is the same whether or not I run npm run watch in one terminal or not.

            In order to observe any changes I need to completely restart the entire server and reload the plugin.

            This makes for a pretty miserable development experience. Has anyone overcome issues like these, or have suggestions as to how I can improve the development process for Excel add-ins?

            I would also like to develop using the Desktop version of excel, however do to the lack of decent logging capabilities, this doesn't seem too feasible.

            ...

            ANSWER

            Answered 2021-Feb-04 at 16:50

            Sorry to hear you are having problems. Can you please try the following:

            • Open the project manifest and remove 'dist' from the functions.html url as follows:

            • Run "npm run build" again and then "npm start" again

            Source https://stackoverflow.com/questions/66047506

            QUESTION

            Angular excel add-in with built-in custom functions
            Asked 2019-Feb-28 at 13:50

            I'm trying to start developing Office Add-ins. For sake of simplicity I'll use public code samples. Also I'm only testing with the web version of Excel.

            So I take the sample Excel add-in with Angular framework using Typescript and the sample custom functions with typescript add-in provided by yo office and I want to merge their functionality into one add-in. Both samples work as expected while testing them separately.

            I took the .ts, .json and .html files from the custom functions add-in and put them in the task pane add-in folder. Then I merged the dependencies of both add-ins. Finally I edited the manifest.xml trying to follow the AsyncStorage sample (https://github.com/OfficeDev/PnP-OfficeAddins/blob/master/Excel-custom-functions/AsyncStorage/).

            The task panel works normally but the custom functions don't show up. Here's my manifest.xml

            ...

            ANSWER

            Answered 2019-Feb-28 at 02:38

            When you run 'npm start' then the root folder of your web service is at 'https://localhost:3000' and it does not know about the 'src' folder. You'll need to replace all references that have '/src/' in the path with a location in your output folder relative to the web service root.

            Remove the 'src' portion from the 'SourceLocation' path, then, if I can suggest something to start with for 'JSON-URL', 'JS-URL', 'HTML-URL':

            Run 'npm run build' on your separate custom functions project and simply copy the files 'index.win32.bundle' (in the 'dist/ship/win32' folder, thats the customfunctions javascript) and 'customfunctions.json' straight from your separate customsfunctions project into the 'assets' folder of your combined solution. Rename the 'index.html' to 'customfunctions.html' to avoid confusion and copy that one to the assets folder also, then reference these files in the manifest like so:

            Source https://stackoverflow.com/questions/54908579

            QUESTION

            How to register custom functions add in with different view in excel
            Asked 2018-Oct-17 at 13:42

            I was trying to run the sample project with custom functions add-in using this link: https://github.com/OfficeDev/Excel-Custom-Functions.

            I made sure that I meet all the prerequisites for running the project. I installed the certificates, and run the project successfully, but I'm stuck at step 3, of registering the custom functions add-ins by going to the insert tab and adding the respective add-in by selecting from the developer section. The problem I'm facing is that I have a different view and organization of options in my excel client application and I could not find the developer section from where I can register my Add-in. I'm attaching the images of the ribbon that I have in excel.

            So if you will look into the images, you will see that there is manage my addins options, which will only show the add-ins that have been sideloaded manually but not the ones that were sideloaded using the script in this project. So I don't know where can I find the developer Section. Any help would be much appreciated. Thanks!

            I'm also part of the Insider program which can be seen in the given image

            ...

            ANSWER

            Answered 2018-Oct-16 at 13:53

            If you're a member of the Office Insider program and are running Excel for Windows build number 10827 or later, the Insert ribbon should look like the following screenshot (with red rectangles highlighting the items you choose to register your custom functions add-in).

            • Have you joined the Office Insider program?
            • What build number of Excel for Windows are you running?

            (Screenshot taken from the Custom Functions Tutorial).

            Source https://stackoverflow.com/questions/52821007

            QUESTION

            Office.js Import custom functions in existing add-in
            Asked 2018-Aug-22 at 16:54

            I am trying to incorporate custom functions in Excel from the preview feature of Office.js into an existing Excel add-in that I wrote. The Excel add-in is using Angular. Right now, both projects are separated in their folder and work great when run independently. I tried to combine the two by copying the files from the custom functions project into my existing add-in project. I followed the exact same architecture as recommended in the GitHub solution: OfficeDev/Excel-Custom-Functions

            The only part where I'm struggling is with the manifest file. According to the documentation, the node < ExtensionPoint /> defining the custom functions need to be located within the node < AllFormFactors /> (AllFormFactors documentation) of the manifest file. For a regular add-in loaded through the taskpane (which is what I have), the node < ExtensionPoint /> is loaded within the node < DesktopFormFactor /> (DesktopFormFactor documentation).

            In the manifest file I have, I copied the node < AllFormFactors /> containing the definition of my functions and put it before the node < DesktopFormFactor />. I made sure the manifest file was valid using the manifest-file-validator. I also copied the latest version of the manifest file to my shared folder location, and I also cleared the cache to make sure the latest version was loaded.

            However, despite doing this, I still get an error saying that my custom functions could not be loaded, and I don't know where the problem is. I couldn't really find an answer online, so any help would be appreciated. Thanks!

            For reference, here's the code contained in the manifest file.

            ...

            ANSWER

            Answered 2018-Aug-22 at 09:51

            According to my research, i found this article which some comments may provide you new idea for this. Such as "join the Office Insider program". For your reference, Add excel custom functions to an existing excel add-in - Javascript Api

            Source https://stackoverflow.com/questions/51957431

            QUESTION

            Can we save files in local when developing custom functions?
            Asked 2018-Jan-02 at 21:58

            I am following this link to try custom functions.

            First I put customfunctions.js and customfunctions.html in my local folder, and then replace https:// in the manifest file with their path: I tried \\SOFTTIMUR9FDC\Users\SoftTimur\tmp\EXCEL-CUSTOM-FUNCTIONS and \\Mac\Home\tmp\EXCEL-CUSTOM-FUNCTIONS\, but I could not see any application in SHARED FOLDER in Excel.

            Then, I put these 2 files on a website, and then replace https:// in the manifest file with their https address. Now, it worked; I could see the application in SHARED FOLDER in Excel and the custom functions worked.

            So is it expected? In other words, when we test custom functions, we could not save these files in LOCAL; we have to save them in a website?

            PS: when we develop a normal excel add-in, there is no problem to save the source files in local.

            ...

            ANSWER

            Answered 2018-Jan-02 at 21:58

            It's possible to host your customfunctions.html file locally, yes. From your description, it sounds like there's something wrong with how you're deploying the manifest, or with the manifest itself. Verify that your only change was the URL for those files, and that it worked properly otherwise.

            Source https://stackoverflow.com/questions/47957060

            QUESTION

            Keep custom functions aligned with their source files
            Asked 2018-Jan-02 at 21:54

            In this link, it says that

            During development and testing, you can manually clear your computer's cache of registration metadata by deleting the folder \AppData\Local\Microsoft\Office\16.0\Wef\CustomFunctio‌​ns.

            I then make a test as follows:

            1. I load a manifest.xml pointing to the original customfunctions.js in my server in a workbook. After closing the workbook, a file is automatically saved in ...\Wef\CustomFunctio‌​ns\V1.

            2. I modify manually customfunctions.js in my server by replacing Excel.Script.CustomFunctions["CONTOSO"]["ADD42"] by Excel.Script.CustomFunctions["CONTOSO"]["ADD42NEW"].

            3. I open a new workbook, in a cell, after enter =contoso., the IntelliSense shows me contoso.add42 rather than add42new. After entering =contoso.add42(5;4), the cells shows #GETTING_DATA and does not return a value. That's understandable because it works on a function which does not exist anymore.

            4. If we click on another cell and enter e.g., =2+3, we see the workbook is refreshed, and #GETTING_DATA becomes #NAME?. And now IntelliSense shows contoso.add42new rather than contoso.add42.

            To conclude, I think there may be a bug: when we open a workbook, IntelliSense should give the updated list of custom functions defined in the current customfunctions.js.

            Actually, what is ideal is that the custom functions in workbook always keep aligned with what are defined in customfunctions.js. If there was not this bug, today we still needed to close a workbook and reopen one to get updated. Does anyone know if there is a workaround to make custom functions in an opened workbook keep updated on the fly? Is there a refreshing trigger that allows us to make custom functions in an opened workbook update from the current customfunctions.js?

            ...

            ANSWER

            Answered 2018-Jan-02 at 21:54

            Thanks for the question! As you've discovered, custom function definitions are currently updated only on-demand rather than on every single document-open event.

            We've received a bunch of feedback in this area and so we're considering some changes to how registration works so that the list of functions in IntelliSense/autocomplete gets updated at the beginning of a session instead of in the middle of one.

            I don't have details to share right now, but be on the lookout for some changes here in a few months.

            Source https://stackoverflow.com/questions/48014112

            QUESTION

            Have custom functions and a task pane at the same time
            Asked 2018-Jan-02 at 21:43

            I am following this link to try custom functions. The following manifest does enable the custom functions:

            ...

            ANSWER

            Answered 2018-Jan-02 at 21:43

            Yes, you can have custom functions and a task pane at the same time in the same add-in, by using add-in commands.

            To enable a task pane command, use the ShowTaskpane action in your manifest (see the help topic, like in this sample manifest on GitHub).

            If you'd also like your task pane to be "permanent" whenever it's inserted, then use this topic page on automatically opening task panes.

            -Michael (PM for custom functions)

            Source https://stackoverflow.com/questions/47997071

            QUESTION

            How to reload Excel custom functions?
            Asked 2017-Nov-24 at 23:33

            I've deployed the Excel-Custom-Functions sample successfully and can use the new JS functions.

            After changing the code/definition in customfunctions.js, I've restarted my web server, started Excel, inserted the custom functions from the Office Add-ins page again but still get the original functions.

            If I start Excel without inserting the sample again, the functions are still known!?

            How can I force Excel to remove such an add-in and reload it from scratch?

            Example: The sample contains several custom functions and their corresponding registration:

            ...

            ANSWER

            Answered 2017-Nov-22 at 18:08

            Excel caches previously-registered functions for each add-in. The reason for caching is so that the functions are available for the user to see and trigger (causing your add-in to load automatically) even before the add-in gets loaded.

            When you run the following code, all previous registered functions in the cache are removed and immediately replaced with the new ones you specify:

            Source https://stackoverflow.com/questions/47393203

            QUESTION

            JS custom functions are not listed in "Insert Function" dialog
            Asked 2017-Nov-24 at 23:31

            Thanks to the Excel-Custom-Functions sample I can use the new JS functions in Excel, e.g. insert =CONTOSO.ADD42(1;2)

            But in Excels Insert Function dialog the CONTOSO functions cannot be found.

            I would expect to see CONTOSO in the list of categories, and all of its functions within this category.

            Is there additional coding required to see these functions in the dialog?

            ...

            ANSWER

            Answered 2017-Nov-24 at 23:31

            We haven't enabled any features for extending the Insert Function dialog yet. So for now you'd have to rely on our existing ribbon extensibility framework ("add-in commands", which lets you add ribbon buttons to any tab or create a new tab. Thank you for the feedback!

            -Michael, PM for add-ins

            Source https://stackoverflow.com/questions/47456863

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install Excel-Custom-Functions

            You can download it from GitHub.

            Support

            We'd love to get your feedback about this sample. You can send your feedback to us in the Issues section of this repository. Questions about Office Add-ins development in general should be posted to Microsoft Q&A. If your question is about the Office JavaScript APIs, make sure it's tagged with [office-js-dev].
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/OfficeDev/Excel-Custom-Functions.git

          • CLI

            gh repo clone OfficeDev/Excel-Custom-Functions

          • sshUrl

            git@github.com:OfficeDev/Excel-Custom-Functions.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link