.ChartArea.Fill.UserPicture PictureFile:="how to reference an obj.

G

Guest

How do you reference an object from the clipboard to use as a background
picture for the Excel Chart Area instead of an actual file. I'm trying to
avoid an actual file and so I've placed the picture in the file with my Excel
macro. Copy & paste does not work. Thanks.
 
S

Stephen Bullen

Hi Carlos,
How do you reference an object from the clipboard to use as a background
picture for the Excel Chart Area instead of an actual file. I'm trying to
avoid an actual file and so I've placed the picture in the file with my Excel
macro. Copy & paste does not work. Thanks.

I don't see a property that we can use to set the picture directly (i.e. not
from a file), so I think the best we can do is to use the PastePicture routine
on my web site to save the picture as a file, set the chart to use the file,
then delete the file.

Regards

Stephen Bullen
Microsoft MVP - Excel
www.oaltd.co.uk
 

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