Add picture located in same workbook to background of XY Scatter Chart

A

aj

I need help adding a picture to the background of an XY Scatter Chart.
I was able to add the picture by referencing a .jpg file, but I am
sending this out to ppl who won't have the .jpg file. Instead I would
like to store and reference the picture in a worksheet in the same
workbook as the chart. Any ideas?

Here is the code I have been using to get the picture from a file.
ActiveChart.PlotArea.Select
Selection.Fill.UserPicture PictureFile:="C:\My Documents\Picture.jpg"

Thanks for the help

aj
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top