我在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工作表的中间。我想把它插入到工作表的右上角。我该怎么做?