Lurker News
The project is called QueryStorm. It uses Roslyn to offer C# (and VB.NET) support in Excel, as an alternative to VBA. I've posted about it before, but a lot has changed since then so figured I'd share an update.

The current version includes a host of new features, namely a C# debugger, support for NuGet packages, and the ability to publish Excel extensions to an "AppStore" (which is essentially a NuGet repository). The AppStore can be used by anyone with the (free) runtime component.
Another great addition is the community license, which is a free license for individuals and small companies to use. It unlocks most features, but it isn't intended for companies with more than 5 employees or over $1M in annual revenue.
I would love to hear your feedback and am happy to answer any technical questions about how QueryStorm is implemented.

Comments (179) 55 threads

Show all comments

Showing thread 6 of 55

inglor5 replies#
I work on Excel at Microsoft and this is really cool. I’ll check it out and share it with the rest of the R&D.
anakic#
Thanks, that's great!! <3
andysinclair2 replies#
Do you know if this item from the Microsoft 365 roadmap would stop Add-ins (xll files) like this from working?

https://www.microsoft.com/en-us/microsoft-365/roadmap?filter...
I also have a vested interest as one of my software products is an xll Add-in. Any further details from Microsoft would be most welcome, thanks.

anakic1 reply#
No idea, haven't seen this until now. Hopefully they provide a mechanism for allowing legitimate addins to get around it. Perhaps using a code signing cert (which I do) or an EV certificate would be appropriate. Security has been a bit of nightmare with Excel addins. I've had to deal with false positives on and off again a bunch of times already. First it was windows smart screen, then antivirus vendors every so often. It's a slog...
tech234a#
Typically you can go into the file properties and check the “Unblock” checkbox to remove what Microsoft calls the “Mark of the Web”.
inglor1 reply#
Open us a feedback through the app. We actually read every tiny bit.
Tempest1981#
Cool. How can I turn off the animated cursor movement in Excel? And Outlook? Drives me crazy. I keep submitting feedback. Even a registry hack is fine.
gadders3 replies#
Jan 2024 - Microsoft releases Excel with it's own built-in C# IDE, doesn't credit original developer.
giancarlostoro4 replies#
They might be likely to offer him a job there honestly. The architect of C# was poached from Borland after all.
addandsubtract3 replies#
How'd that go for the AppGet dev?

Continue this thread — 3 replies

gadders2 replies#
I hope it does work out for the original author and he deserves it but there have been cases before where concepts have been taken from their originator and implemented by the large corporate with no cash or even credit given.

Continue this thread — 2 replies

IncRnd#
Even today, it isn't Embrace, Extend, Employ.

Continue this thread — 1 reply

IshKebab#
Honestly it's annoying that they haven't already done that. I was surprised a few years ago when I checked and it didn't exist.
inglor1 reply#
Oh boy you don’t know what our culture looks like. It’s more “it’s cool that people are building on top of it and we want to figure out how we can make it easier”
inglor3 replies#
Oh Microsoft the company is not to be trusted and is not your friend. It’s a huge company with many employees and products. Moreover I can’t attest to any other group’s culture - I can only say what we do in Excel.

In Excel working hard to make addons possible and trying to foster an ecosystem of users sharing expertise is a focus as well as community building and smbs.
Taking a cool community project and doing it ourselves would shooting our selves in the foot.
More than once I didn’t do things or work in features for that reason.
Again not because Microsoft is your friend but because it’s in our business interest.
I don’t speak for Microsoft or Excel and am just a developer/hacker ;)

pyth0#
I got this impression as well. I worked on a team two years back building out a very complex Excel plugin using Excel.js. The SDK has quite a few quirks and we ran into some problems along the way, but the team at Microsoft responsible for it was happy to help and interested in hearing feedback and features we wanted. A positive experience :)
mst1 reply#
I always got the feeling that because it's such a key product the Excel team was basically its own organisation within the wider corporation and as a result had a lot more freedom to make its own choices.

(not that I'm arguing for trust that would, as you say, be misplaced, but if my feeling is correct then the Excel org's englightened self interest can diverge from the mothership's self interest more than other divisions can, which makes the calculations as to what your management is likely to decide notably different)

pjmlp#
Traditionally Microsoft has had three big feuds.

Apps (where Office belongs), DevDiv (VS, .NET and such), WinDev (Windows, C, C++).
All of them used to compete quite a lot among themselves.
No idea how it looks like nowadays with all the business units, but I get a feeling that WinDev vs DevDiv is still a thing.

gompertz#
A little off topic but will Typescript support ever come to desktop Excel or is it just going to remain on the web version? Office Scripts are great but bit of a bummer I can only write them for web.
airstrike#
May I suggest a new feature? I imagine there's no real hard reason why Data Validation won't take dynamic arrays. It would be amazing to use UNIQUE or even FILTER in the Custom format. I've tried all sorts of workarounds including defining named ranges, using INDIRECT, etc. but it seems like I inevitably need to create a range for Data Validation to work

Which in turn leads me to think there should be a way to create a virtual Range object in VBA that isn't really in a sheet (or a VirtualRange object that is similar enough to Range to make it work for most purposes). If one were to refactor Range entirely (not suggesting that), it seems like the issue is that the Range object actually encapsulates two different data representations into one jumbled up object: (1) cells in a worksheet with properties such as style, fill, value, etc. and (2) a traversable quasi-array data type with useful methods such as offset, rows, columns, etc. Those two things often line up, but not always.
Anyway, I probably spend too much time thinking about Excel :-)