0
我在excel中編寫了一個宏來插入圖表。 當選擇特定範圍的單元格時,該宏將運行。 是:在特定位置插入圖表對象
Sub drawchart2()
'
' drawchart2 Macro
'
'
Range("B24:C36").Select
ActiveSheet.Shapes.AddChart.Select
ActiveChart.ChartType = xlLineMarkers
ActiveChart.SetSourceData Source:=Range("'Sheet'!$B$24:$C$36" _
)
ActiveSheet.Shapes("Chart 6").IncrementLeft 256.1797637795
ActiveSheet.Shapes("Chart 6").IncrementTop -84.2696062992
ActiveSheet.Shapes("Chart 6").IncrementLeft 54.7752755906
ActiveSheet.Shapes("Chart 6").IncrementTop -19.3820472441
End Sub
但這圖表插入Excel中worksheet.I中間要插入到sheet.How的右上角做呢?