|
[广告] VBA代码宝 - VBA编程加强工具 · VBA代码随查随用 · 内置多项VBA编程加强工具 ★ 免费下载 ★ ★ 使用手册★
深入学习这个帖子。
Private Sub del()
Dim oChart As Chart
For Each oChart In ThisWorkbook.Charts
Debug.Print oChart.Name
With oChart.ChartTitle
''
Debug.Print .Caption
Debug.Print .Font.FontStyle, .Font.Bold, .Font.Name
Debug.Print .Left, .Top
'Debug.Print .Text
End With
With oChart
Debug.Print .AutoScaling
Debug.Print .ChartType,
'.ChartType = xlColumnStacked
'.ChartType = xl3DArea
'.ChartType = xlColumnStacked
'.ChartType = xlConeBarStacked100
.ChartType = xlBarClustered
.ChartType = xl3DColumn
Stop
Stop
Stop
End With
Next oChart
End Sub
|
|