Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Dim conn As New ADODB.Connection
- Dim dbName As String
- 'Define the connection string
- dbName = "Driver = {SQLite3 ODBC Driver}; Database = D: yourdbname.db"
- 'Open the database
- ff.Open dbName
- ff.Execute "create table a (a, b, c);"
- 'Other operations on and VBA to connect to other DB like Access the same.
- 'Close connection
- ff.Close
Advertisement
Add Comment
Please, Sign In to add comment