title: How do I change the background image of a chart in vba?
body: <p>I need to change the background image of a chart I created using vba. I tried using the .Fill command but I can't make it work. How do I do it?
  This is the code I used to create the chart and it is working fine:</p>
  
  <pre><code>With myChart
      .ChartStyle = 245
      .SeriesCollection.NewSeries
      .SeriesCollection(1).Name = ""
      .HasLegend = False
      .Axes(xlCategory).HasTitle = True
      .Axes(xlCategory).AxisTitle.Text = "Punteggio Tecnico"
      .Axes(xlValue).HasTitle = True
      .Axes(xlValue).AxisTitle.Characters.Text = "Punteggio Economico"
      .Axes(xlCategory).MinimumScale = 0
      .Axes(xlCategory).MaximumScale = 1
      .Axes(xlValue).MinimumScale = 0
      .Axes(xlValue).MaximumScale = 1
      .SeriesCollection(1).XValues = "=Dati2!B3:B270"
      .SeriesCollection(1).Values = "=Dati2!C3:C270"
  End With
  </code></pre>