Is there a way to get a collection of all of the functions that are currently available to Excel, including user-defined functions?
I am trying to create an application add-in that uses function usage information, so I need to be able to parse out Excel function calls in formulas.
If you want to parse out function names from formulas see my blog post on how to do it:
http://fastexcel.wordpress.com/2013/10/27/parsing-functions-from-excel-formulas-using-vba-is-mid-or-a-byte-array-the-best-method/
If you want to find out information about built-in and XLL functions see this blog post
http://fastexcel.wordpress.com/2013/12/09/finding-out-if-a-function-is-volatile-or-multithreaded-using-vba-udfs-for-udfs/
If you want to find out all available VBA UDF functions you could parse them out from the VBA if your code is allowed access to the VBA.
I don't know how to find available automation UDFs, they are not registered
Related
I'd like to find a way to import keyword search volume into Excel.
Currently, I'm using Grepwords API with this Excel function:
=WEBSERVICE(http://api.grepwords.com/lookup?&FAKE-API-KEY&q=taco%20bell)
In the example above, it pulls all of Grepwords data for the keyword "taco bell" into a single cell in Excel.
Is there a way to perform the same task--albeit using the Adwords API instead of Grepwords?
If so, can someone provide an example of what that URL would look like?
Thanks!
I am using the google sheets APIs for node js
https://developers.google.com/sheets/api/quickstart/nodejs
How can we access the datatype(number, decimal, string, date) of a column
in google spreadsheet using the above APIs?
There is no direct instruction from Sheets API aside from the Reading values in Spreadsheet guide. When you obtain the value of the cell assign it to a variable and make use of typeof Javascript function.
You may also try to make use of getNumberFormats but this time using Google Apps Script. Those are the possible ways I can think of.
I run reports in JIRA and then export them to excel. I then work on this data to create control charts in excel. How can i use macros (or any other tool) that would help me run this process of exporting the report and then customizing to create control charts every once a week?
Your question is quite general, so there are many possible solutions:
Use a commercial reporting add-on like EazyBI or Arsenale Dataplane
Use the JIRA REST API to script your own solution. There are different possibilities here as well:
Retrieve the info you need using the search REST resource, then generate your own output file in csv or another excel compatible format.
Use VBA from within Excel to retrieve all the info you need.
Some more options in this post on Atlassian Answers
I'm using Excel-DNA to create UDFs within Excel and NetOffice for version-independent automation calls. Within a macro-type function, I'm able to use the following to get the formula from a cell:
ExcelReference cellRef; // of course in reality this is assigned
var formula = (string)this.excelCall(XlCall.xlfGetFormula, cellRef);
Additionally though, I'd like to know whether this is part of an array formula, and if so what its extent is. Using Excel automation, I can use something like:
Range("A1").HasArray
Range("A1").CurrentArray.Address
However, Microsoft discourage the use of automation within UDF calls: https://support.microsoft.com/en-us/kb/301443
So, is there a way to get the the HasArray and CurrentArray properties via the C API, or does anyone know if it's okay (in the context of a UDF declared as macro-type) to use automation?
The GET.CELL information function, with information type_num 49 will return whether the cell is part of an array. From your Excel-DNA (macro-type) function:
bool isArray = (bool)XlCall.Excel(XlCall.xlfGetCell, 49, cellRef);
We'd like to create a simpler alternative to Excel's CUBEVALUE function for retrieving data from an OLAP server. The details aren't critical, but briefly, our function will "know" the source connection and accept a very simple ticker-like parameter and a date, in place of CUBEVALUE's MDX-style parameters. This is for internal use within our firm, just FYI.
However, Excel has optimized CUBEVALUE so that calls to the OLAP server are batched.
Question: Is there a way to code the new function so that it can similarly batch calls rather than issue a separate query for each cell?
Looks like this will be possible starting in Excel 2010. According to http://blogs.msdn.com/excel/archive/2010/01/27/programmability-improvements-in-excel-2010.aspx Excel 2010 adds support for asynchronous UDF's. That's exactly what's needed to mimic the performance of CUBEVALUE.