I'm trying to paste an image as a background to a radar chart. The objective is to let the user choose from a number of background images to suit what is being shown on the radar chart.
I've tried recording a macro but it skips the vital step of pasting the image from the clipboard. (This isn't how I'll actually use the code but I've left the macro as recorded for completeness).
Can anybody help fill the gap?
An alternative would be to have a stack of images behind a transparent chart that get made visible as required. Code for making sure they line up exactly with the plot area would be my difficulty there though.
I've tried recording a macro but it skips the vital step of pasting the image from the clipboard. (This isn't how I'll actually use the code but I've left the macro as recorded for completeness).
Code:
ActiveSheet.Shapes.Range(Array("Picture 21")).Select
Selection.Copy
ActiveSheet.Previous.Select
ActiveSheet.ChartObjects("Radar").Activate
ActiveChart.PlotArea.Select
'this is where the formatting happens but the macro hasn't recorded it
Can anybody help fill the gap?
An alternative would be to have a stack of images behind a transparent chart that get made visible as required. Code for making sure they line up exactly with the plot area would be my difficulty there though.