Ställ in dina rstProjets objektvariabel till en New ADODB.Recordset , och anropa sedan dess .Open metod.
Dim rstProjets As ADODB.Recordset
ConnectMySQL
Set rstProjets = New ADODB.Recordset
rstProjets.Open "SELECT * FROM subventions LIMIT 5", mysqlConn