the system warns me the following code includes some bugs? but i cant fix it>< what's the solution?
ThisWorkbook.Sheets(stockno).Shapes.AddChart.Chart.SetSourceData Source:=Range(stockno & "!$A$2:$A" & row, stockno & "!$H$2:$H$" & row)
ThisWorkbook.Sheets(stockno).Shapes.AddChart.Chart.SetSourceData Source:=Range(stockno & "!$A$2:$A" & row, stockno & "!$H$2:$H$" & row)