0
我編寫VBA代碼,圖表工作表中每個工作表當前工作表如何圖表使用VBA
Sub InsertChartsAfterWorksheets()
Dim myWorksheet As Worksheet
Dim myChart As Chart
For Each myWorksheet In Worksheets
Set myChart = Charts.Add
myChart.ChartType = xlXYScatterLines
myChart.Move After:=myWorksheet
Next myWorksheet
End Sub
右後和它出錯的圖表,錯誤的東西,我需要改變???
你說的意思 「出了問題......」? –
它所有相同的圖表 –