Better HN
topnewbestaskshowjobs
Log inSign up

sharpcells

3 karma · joined Feb 15, 2023 (3y ago) · 5 submissions

Submissions

comment 3y ago · link · parent

The subscription validation does require an intermittent internet connection to revalidate. Currently it is checked once per week but besides that check Sharp Cells can be used offline. We have updated the website to clarify this.

comment 3y ago · link · parent

We would say it is F# first. We found F# to be far superior as a scripting language and so focused on that integration. Projects written in C# or VB.NET can be referenced using the `#r` syntax as shown here https://www.sharpcells.com/docs/example-ref-proj

comment 3y ago · link · parent

We use those APIs internally to implement Sharp Cells. You can certainly build your own integration however the XLL API in particular was poorly documented and very difficult to implement correctly.

Sharp Cells' aim is to make it easy to use these APIs from F# so you don't have to worry about P/Invoke, manual memory management, dynamic .NET assembly loading, etc. to just write custom functions.

comment 3y ago · link · parent

An F# to VBA translation would be very difficult. The languages are very different and F# relies heavily on the .NET runtime which VBA does not use.

When you use Sharp Cells the F# scripts are embedded with the workbook when you save so sending the .xlsx will work for the recipient provided they also have Sharp Cells installed. For many workbooks the free tier would be sufficient for use.

If the user doesn't have Sharp Cells the functions won't load and the results relying on Sharp Cells UDFs will be replaced with `#NAME?` errors.

comment 3y ago · link · parent

Sharp Cells creator here. If you reach out on our contact us page https://www.sharpcells.com/contact-us we'd be happy to discuss special arrangements.