Sub
Diagrammgroesse_anpassen_eins()
With
ActiveSheet.Shapes(Mid$(ActiveChart.Name, Len(ActiveSheet.Name) + 2))
.Width = 22 * 72 / 2.54
.Height = 14 * 72 / 2.54
.Line.Visible = msoFalse
ActiveChart.SeriesCollection(1).
Select
ActiveChart.PlotArea.
Select
Selection.Left = 1.4 * 72 / 2.54
Selection.Top = 0.35 * 72 / 2.54
Selection.InsideWidth = (18.4 * 72 / 2.54)
Selection.InsideHeight = (11.4 * 72 / 2.54)
End
With
ActiveChart.Axes(xlValue).AxisTitle.Font.Size = 16
ActiveChart.Axes(xlValue).AxisTitle.Font.Name =
"Arial"
ActiveChart.Axes(xlValue).AxisTitle.
Select
Selection.Format.TextFrame2.TextRange.Font.Bold = msoTrue
ActiveChart.Axes(xlCategory).AxisTitle.Font.Size = 16
ActiveChart.Axes(xlCategory).AxisTitle.Font.Name =
"Arial"
ActiveChart.Axes(xlCategory).AxisTitle.
Select
Selection.Format.TextFrame2.TextRange.Font.Bold = msoTrue
ActiveChart.Axes(xlValue).TickLabels.Font.Size = 14
ActiveChart.Axes(xlValue).TickLabels.Font.Name =
"Arial"
ActiveChart.Axes(xlCategory).TickLabels.Font.Size = 14
ActiveChart.Axes(xlCategory).TickLabels.Font.Name =
"Arial"
ActiveChart.Legend.Font.Size = 12
ActiveChart.Legend.Font.Name =
"Arial"
ActiveChart.Axes(xlValue).AxisTitle.
Select
Selection.Left = 0 * 72 / 2.54
Selection.Top = 5.6 * 72 / 2.54
ActiveChart.Axes(xlCategory).AxisTitle.
Select
Selection.Left = 10.9 * 72 / 2.54
Selection.Top = 13 * 72 / 2.54
ActiveChart.Legend.
Select
Selection.Width = 6 * 72 / 2.54
Selection.Height = 0.7 * 72 / 2.54
Selection.Left = 2.95 * 72 / 2.54
Selection.Top = 0.85 * 72 / 2.54
End
Sub
------------------------------------------------
Sub
Diagrammgroesse_anpassen_zwei()
With
ActiveSheet.Shapes(Mid$(ActiveChart.Name, Len(ActiveSheet.Name) + 2))
.Width = 22 * 72 / 2.54
.Height = 14 * 72 / 2.54
.Line.Visible = msoFalse
ActiveChart.SeriesCollection(1).
Select
ActiveChart.PlotArea.
Select
Selection.Left = 2.85 * 72 / 2.54
Selection.Top = 0.1 * 72 / 2.54
Selection.InsideWidth = (16.6 * 72 / 2.54)
Selection.InsideHeight = (10.5 * 72 / 2.54)
End
With
ActiveChart.Axes(xlValue).AxisTitle.Font.Size = 26
ActiveChart.Axes(xlValue).AxisTitle.Font.Name =
"Arial"
ActiveChart.Axes(xlValue).AxisTitle.
Select
Selection.Format.TextFrame2.TextRange.Font.Bold = msoTrue
ActiveChart.Axes(xlCategory).AxisTitle.Font.Size = 26
ActiveChart.Axes(xlCategory).AxisTitle.Font.Name =
"Arial"
ActiveChart.Axes(xlCategory).AxisTitle.
Select
Selection.Format.TextFrame2.TextRange.Font.Bold = msoTrue
ActiveChart.Axes(xlValue).TickLabels.Font.Size = 24
ActiveChart.Axes(xlValue).TickLabels.Font.Name =
"Arial"
ActiveChart.Axes(xlCategory).TickLabels.Font.Size = 24
ActiveChart.Axes(xlCategory).TickLabels.Font.Name =
"Arial"
ActiveChart.Legend.Font.Size = 20
ActiveChart.Legend.Font.Name =
"Arial"
ActiveChart.Axes(xlValue).AxisTitle.
Select
Selection.Left = 0 * 72 / 2.54
Selection.Top = 4.45 * 72 / 2.54
ActiveChart.Axes(xlCategory).AxisTitle.
Select
Selection.Left = 11.35 * 72 / 2.54
Selection.Top = 12.5 * 72 / 2.54
ActiveChart.Legend.
Select
Selection.Width = 3 * 72 / 2.54
Selection.Height = 2 * 72 / 2.54
Selection.Left = 17.4 * 72 / 2.54
Selection.Top = 0.8 * 72 / 2.54
End
Sub