I'm trying to connect to Vertica via VBA code. But I'm facing this error:
Run Time Error '-2147467259 (80004005)':
Automation error
Unspecified error
What am I doing wrong?
Dim cn As ADODB.Connection
Set cn = New ADODB.Connection
Dim rs As ADODB.Recordset
Dim strConn As String
strConn = "Driver={Vertica}; Servername=localhost;
Database=jdbc:vertica://JSVERTICA:5433/PVXDW; Username=admin; Password=pass"
cn.Open strConn
cn.Close
Set cn = Nothing
MsgBox "Connected"