Created
March 30, 2019 09:14
-
-
Save pandanote-info/8a31e92217de9c6bda20ce448186dbf0 to your computer and use it in GitHub Desktop.
32bit版及び64bit版のExcelで使用できるSQLite3のDLL(sqlite3.dll)をオープンするためのExcel VBAの関数。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Function SQLite3Init(Optional ByVal libDir As String) As Long | |
#If Win64 Then | |
SQLite3Init = SQLite3Initialize(ThisWorkbook.Path + "\x64") | |
#Else | |
SQLite3Init = SQLite3Initialize(libDir) | |
#End If | |
End Function |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment