Show HN: C# support in Excel
querystorm.com
querystorm.com
I've now added the capability to use C# in Excel, using Roslyn. Sort of like Linqpad in Excel. This lets it work with Excel tables, fiddle with formatting, and automate stuff.
Some of the practical applications:
- processing data in Excel (LINQ)
- getting data from various sources into Excel (REST, databases, files, active directory, whatever)
- building interactive dashboards
- building prototypes applications (you write logic in C# and use Excel as the UI and data storage)
Here's the introduction: https://querystorm.com/documentation.htmlThere's also a short video: https://vimeo.com/242216594 for a brief intro.
I charge for the plugin but it's freemium. If you don't want intellisense, error squigglies and so on, you don't need a license.
So... what do you think?
In other words, I like what you're doing and will probably buy a license. But... I don't see a license option that looks like it lets me test it out in a commercial environment without paying first. I might just be missing something there though. I'd love to test it out and be in compliance with your licensing.
About licensing: you can get a free trial license by clicking "Try Querystorm" on the QueryStorm website. The trial lasts 14 days, but if you need a longer trial just send me an email (antonio at querystorm.com) and I'll send you an extended trial license.
If you have any suggestions or questions while you're checking it out, let me know.
Or maybe their data acquisition system is nuts, but maybe it expanded a job for someone who would otherwise be out of one.
I have encountered situations like these and my suggestions... well, not wrong, but not a good fit for that department.
Of course, the user could just enter credentials in cells, but if I want something more secure. Is there any way to integrate an OAuth 2 log in form or similar?
In a more serious use case, you could build your login form and all the login logic in a separate dll, and just call that dll from your scripts.
If you'd like to try this, let me know via email (antonio at querystorm.com), I can help or at least point you in the right direction.
1. This is a huge improvement over VBA.
2. This is going to make creating unmaintainable mission critical Excel macro based monstrosities even easier.
So a small software improvement may be releasing new terrors into the IT world.
Reminds me of gunpowder - very powerful, very dangerous and very useful.
When you go to edit VBA inside Excel, you get a VB6 IDE. I just tried it in Excel 2016, and it looks the same as it always has.
Their are ways to develop Office add-ins using .NET, but they aren't built in the way VBA and its IDE are.
It's also worth noting that you can build custom tools in Office using web technologies (HTML/CSS/JS).
Also, there are also a number of options other than Excel formulas and VBA for manipulating Excel data, including DAX and M.
https://en.wikipedia.org/wiki/Data_analysis_expressions
https://msdn.microsoft.com/en-us/library/mt270258.aspx
M's syntax is kind of similar to F#/Ocaml. The only downside is the editor (very basic).
All of the above are built into Excel. If I was starting out building an Excel add on, I'd use the web technologies option.
That's close to what we had. It was probably the first and only time that a project got me close to breaking down and crying :-)