This is an example from my notes using a command object, albeit with a parameter
Public Function RunAccessSP
Dim mpParam As Object 'ADODB.Parameter
Dim mpCmd As Object
Dim mpRS As Object
Dim mpConn As Object
Dim mpParamValue As String
mpParamValue = "some value"
Set mpConn = CreateObject("ADODB.Connection")
mpConn.Open = "Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=" & "C:\bob.mdb"
Set mpCmd = CreateObject("ADODB.Command")
Set mpCmd.ActiveConnection = mpConn
mpCmd.CommandText = "spName"
mpCmd.CommandType = adcmdStoredProc
Set mpParam = mpCmd.CreateParameter("prmName", adVarChar, _
adParamInput, Len(mpParamvalue))
mpParam.Value = mpParamvalue
mpCmd.Parameters.Append mpParam
Set mpRS = CreateObject("ADODB.Recordset")
mpRS.Open mpCmd
Do Until mpRS.EOF
Debug.Print mpRS(0), mpRS(1), mpRS(3)
mpRS.MoveNext
Loop
Set mpRS = Nothing
Set mpCmd = Nothing
Set mpConn = Nothing
End Function