我希望将值从excel工作表传递到我的sql查询代替date_of_month = '2019-05'的条件应该是date_of_month='excel_sheet["A1"]'的位置。select date_of_month,studentname from student where date_of_month='2019-05'Dim dateofmth
For Row = row_start To l1 + row_start If Cells(Row, Column).Value = Cells(2, Column).Value Or Cells(Row, Column).Value = Cells(Row, 2).Value Then End IfNext Row
这是我正在执