Calling a Stored Procedure from Excel with multiple parameters

后端 未结 4 782
生来不讨喜
生来不讨喜 2021-01-14 04:54

I have set up a connection to my SQL server to the database where the stored procedure is located. The Stored Procedure works fine in SQLServer. The Stored Procedure runs

4条回答
  •  臣服心动
    2021-01-14 05:15

    You're missing that comma

    "EXECUTE dbo.GetBillingHeatMap '" & Range("A9").Value & "','" & Range("B9").Value & "'"

提交回复
热议问题