Complete the code to set the chart title to "Sales Data".
ActiveChart.ChartTitle.Text = [1]The chart title text must be a string enclosed in double quotes in VBA.
Complete the code to change the chart's background color to light blue using RGB values.
ActiveChart.ChartArea.Format.Fill.ForeColor.RGB = [1]RGB(173, 216, 230) is the light blue color.
Fix the error in the code to set the chart legend position to the bottom.
ActiveChart.Legend.Position = [1]The correct constant for legend position at bottom is xlLegendPositionBottom.
Fill both blanks to set the chart's X-axis title to "Month" and make it bold.
With ActiveChart.Axes(xlCategory).AxisTitle
.Text = [1]
.Font.[2] = True
End WithThe axis title text must be "Month" and the font property to make text bold is Bold.
Fill all three blanks to format the first data series as a dashed red line with weight 2.
With ActiveChart.SeriesCollection(1).Format.Line .DashStyle = [1] .Weight = [2] .ForeColor.RGB = [3] End With
DashStyle uses msoLineDash for dashed line, Weight is set to 2 points, and ForeColor.RGB uses RGB(255, 0, 0) for red.