It appears that all ways to directly access an SQL Server database from a VBA project have been deprecated:
When initializing an adodb.connection in vba we replaced
.Provider = "sqloledb" .Properties("Data Source").Value = sServer .Properties("Initial Catalog").Value = sDB .Properties("Integrated Security").Value = "SSPI"with
.ConnectionString = _ "DRIVER={ODBC Driver 11 for SQL Server}; " & _ "SERVER=" & sServer & "; " & _ "Trusted_Connection=Yes; " & _ "DATABASE=" & sDB & "; "
That uses .Provider = "MSDASQL.1" but you don't have to add that.