Hi, I am trying to align the charts (pie chart and bar chart) on a worksheet. I tried the following code, but I get an error with the .LEFT line.
With Worksheets("Budget Report"
'.ChartObjects("BarChart"
.Left = .Columns("B"
.Left
.ChartObjects("BarChart"
.Top = 200
End With
The .TOP property correctly puts the bar chart at 200, but after I add a Pie chart, the bar chart gets pushed to the bottom. Any idea why?
With Worksheets("Budget Report"
'.ChartObjects("PieChart"
.Left = .Columns("B"
.Left
.ChartObjects("PieChart"
.Top = 600
End With
Thank you for your help,
With Worksheets("Budget Report"
'.ChartObjects("BarChart"
.ChartObjects("BarChart"
End With
The .TOP property correctly puts the bar chart at 200, but after I add a Pie chart, the bar chart gets pushed to the bottom. Any idea why?
With Worksheets("Budget Report"
'.ChartObjects("PieChart"
.ChartObjects("PieChart"
End With
Thank you for your help,