I am running Excel 2007.
I have written code that adds a .jpeg background to several charts in a workbook (in the chart area, not the plot area). The problem I am having is that the Excel 2007 appears to default to a tiled background. I have to manually go to each chart and open the background format and uncheck the "Tile picture as texture" checkbox to get the jpeg to the right size. Next week, when I update the charts, I have to do this again.
I have researched a lot of reference material for code that will uncheck the checkbox when I add the picture and cannot find anything.
Does anyone know the one line code to uncheck the box? It would save me a lot of time each month.
Thanks,
Charles
I have written code that adds a .jpeg background to several charts in a workbook (in the chart area, not the plot area). The problem I am having is that the Excel 2007 appears to default to a tiled background. I have to manually go to each chart and open the background format and uncheck the "Tile picture as texture" checkbox to get the jpeg to the right size. Next week, when I update the charts, I have to do this again.
I have researched a lot of reference material for code that will uncheck the checkbox when I add the picture and cannot find anything.
Does anyone know the one line code to uncheck the box? It would save me a lot of time each month.
Thanks,
Charles