SQLiteC-for-VBA
Excel-Pomodoro-Timer
SQLiteC-for-VBA | Excel-Pomodoro-Timer | |
---|---|---|
1 | 1 | |
5 | 14 | |
- | - | |
0.0 | 5.1 | |
almost 3 years ago | about 2 months ago | |
VBA | VBA | |
MIT License | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
SQLiteC-for-VBA
-
[EXCEL] SQLite C/ADO VBA library with reflection
Complete project source code with dependencies is available from the GitHub repo and the project documentation - from the GitHub pages site. I perform unit testing under x32/VBA6 (Excel XP/2002 SP3) and x64/VBA7 (Excel 2016) environments. With the entire repository cloned on Windows 10 and the two dependencies (the SQLiteODBC driver and the RubberDuck VBA add-in) installed, the following two quick checks can be executed right away from the immediate pane. This command ?LiteMan(":mem:").ExecADO.GetScalar("SELECT sqlite_version()") returns SQLite library version used by the SQLiteODBC driver (usually embedded), e.g., 3.23.3, and this command ?SQLiteC("").CreateConnection(":mem:").ExecADO.GetScalar("SELECT sqlite_version()") returns SQLite library version loaded by the project, e.g., 3.37.0. The project also includes a set of examples, which should also run out-of-the-box (see documentation).
Excel-Pomodoro-Timer
-
Can I use Excel in another window while my workbook with vba is running in background?
I suspect that your reason for asking this is that you've found that getting VBA to run every X minutes (using Application.OnTime?) will throw an error if VBA is already running, or if you're in the middle of editing a cell, etc. One way around this is, as u/e032 and u/Either-Belt-1413 point out, to create a further instance of Excel (InstanceTwo), with the VBA code running in a workbook loaded into that instance. There are a number of projects which demonstrate this - it's a very useful method - but the one that comes immediately to mind (and is most relevant to what you're doing) is the Excel Pomodoro Timer. When it is loaded, it creates a new instance of Excel in the background, and loads a userform with a pomodoro timer on it, which is then displayed at all times on top of any Excel workbook you're using without throwing any of the above errors. There are some much more complex and sophisticated methods using Win32 APIs - like this one - but that may be using a jackhammer to crack a wallnut.
What are some alternatives?
SQLiteForExcel - A lightweight wrapper to give access to the SQLite3 library from VBA.
VBA - Code Blocks relating to everything VBA
Rubberduck - Every programmer needs a rubberduck. COM add-in for the VBA & VB6 IDE (VBE).
Vincenty-Excel - Thaddeus Vincenty's Direct and Inverse formulae for geodesic calculations in Excel (distance, azimuth, latitude, longitude).
excel-formula-print - VBA macro to print formulas with variable names
QRCodeLibVBA - QR Code generator library in VBA
JustMoreVBA - A collection of code snippets, modules, and classes that I've written and collected over the years.
VBA-Better-Array - An array class for VBA providing features found in more modern languages
VBA-ExtendedDictionary - Dictionary object that extends the Scripting.Dictionary
VBA_personal - Library with VBA, used in multiple projects.