https://github.com/Rotifer/SqliteVba
VBA classes written for use in Excel to interact with SQLite
https://github.com/Rotifer/SqliteVba
Last synced: 6 months ago
JSON representation
VBA classes written for use in Excel to interact with SQLite
- Host: GitHub
- URL: https://github.com/Rotifer/SqliteVba
- Owner: Rotifer
- Created: 2016-11-11T16:17:59.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-04T08:56:38.000Z (about 8 years ago)
- Last Synced: 2024-08-13T07:18:26.151Z (10 months ago)
- Language: Visual Basic
- Size: 2.74 MB
- Stars: 8
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - Rotifer/SqliteVba - VBA classes written for use in Excel to interact with SQLite (Visual Basic)
README
# SqliteVba
## VBA classes written for use in Excel to interact with SQLite
I am working with Windows colleagues and need to provide a database for storage and data management.
I decided against MS Access and opted for SQLite for reasons that I will explain in the future.
The plan is to use Excel as a front-end for end users with SQLite in the backend.
This is a work in progress. The classes are not yet tested or documented.## Aim to write this up in a lengthy blog entry
* Requires installation of SQLite exe (from the SQLite downloads page) and the Sqlite ODBC driver (http://www.ch-werner.de/sqliteodbc/).
* In the VBA editor, add references to the ADO and scripting runtime libraries.Links that I have used:
1. Microsoft ADO API Reference: https://msdn.microsoft.com/en-us/library/ms807498.aspx
3. Good tips on an object oriented approach - Class Module to wrap up classic ADO call to SQL-server: http://codereview.stackexchange.com/questions/116253/class-module-to-wrap-up-classic-ado-call-to-sql-server/116254
4. Creating ADODB Parameters on the fly: http://codereview.stackexchange.com/questions/46312/creating-adodb-parameters-on-the-fly
5. How to transfer data from an ADO Recordset to Excel with automation: https://support.microsoft.com/en-gb/kb/246335
6. Good review of dictionaries: http://excelmacromastery.com/vba-dictionary/