Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add SQLite Amalgamation function to SQLiteForExcel #15

Open
finlabhk opened this issue Nov 30, 2021 · 1 comment
Open

How to add SQLite Amalgamation function to SQLiteForExcel #15

finlabhk opened this issue Nov 30, 2021 · 1 comment

Comments

@finlabhk
Copy link

I found that sqlite.com provide an extension file for adding extra function on sqlite, such as SQRT(). This function is really important for my daily operation. But I dont know how to add the extension to SQLiteForExcel. Is it possible to add those extension to SQLiteForExcel?

Thank you very much for contributing this amazing package. I am so happy to convert my old dbf files to sqlite and operating them by excel.

@govert
Copy link
Owner

govert commented Nov 30, 2021

Using a VBA function as a custom function in SQLite is not something you can do with the library as it is now.
Under 32-bit Excel you would need some conversion for the calling convention, and then understand exactly how the VBA functions and structures must look.

You might consider moving things to .NET, where I think the SQLite library does allow custom functions. Or otherwise make a custom C/C++ component for your needs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants