I am trying to run a Stored Procedure from Excel VBA, I have created a connection to SQL server and now I want to Execute the SP by picking up parameters in certain cells which I have namedDataParam1DataParam2DataParam3How can I get it to run the SP using these?This is what I have so far but keep getting error message "Object doesnt support this property or method.Sub CYP()Dim cnn As ADODB.ConnectionDim rs As ADODB.RecordsetDim stProcName As StringDim strFilePath As String strFilePath = "Driver={SQL Native Client};" & _ "Server=MyServer;" & _ "Database=MyDB;" & _ "Trusted_Connection=Yes" Set cnn = New ADODB.Connection cnn.Open strFilePath'---------------------------------------------------------------------'Run Query for Physio Paediatrics Set rs = New ADODB.Recordset Application.ScreenUpdating = False'Define name of Stored Procedure to execute stProcName = "EXEC dbo.sp_WL_SS_Name_Report '" & Worksheets("Check").DataParam1.Value & "', '" & Worksheets("Check").DataParam2.Value & "', " & _ "'" & Worksheets("Check").DataParam3.Value & "', 'PD,PDD,PP,PGA,PBCS,PBCN,PDOS' " Sheet13.Range("B5:C10").ClearContents rs.CursorLocation = adUseClient rs.Open stProcName, cnn, adOpenDynamic, adLockOptimistic, adCmdText Application.ScreenUpdating = False Sheet13.Range("B5").CopyFromRecordset rs rs.Close Set rs = Nothing cnn.Close Set cnn = Nothing Exit SubEnd Sub