• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

I need to embed an image/ graph to a spreadsheet via excel macro vba.

pranav

New Member
I need to embed an image/graph to a spreadsheet via excel macro vba.


So whenever I relocate my excel file, the image will still show up. Can


you help me do this?


Thank you!
 
Pranev


Firstly, Welcome to the Chandoo.org forums.


Whenever you make a Chart in an Excel spreadsheet the chart will stay with the spreadsheet regardless of where the file is located.


If the chart is based on data in another workbook and they are in the same directory the chart will update as long as the two files stay together.


If the charts don't stay together you can do a couple of things


1. When you shift the files, relink the data in the remote file using the Edit, Links menu command

or

2. Save the file as a Picture, although this then doesn't update if the data changes


My preference is not to make charts linked to data from external files.
 
Back
Top