Inserting charts into many workbooks

V

vbazen

Hi,
I'm using Excel 2007 and am pretty new to VBA. I have a folder with 40
or so workbooks- all with the same worksheet table format. The worksheets
are huge (20 000 + rows, 50 or so columns). I need to open a workbook, make
several fully formatted graphs, then insert the same graphs into every
workbook , updated them with that workbooks' data.

Any ideas on code for this?
 
J

Jon Peltier

This isn't fully automated, but it will save some time. In one workbook,
create the chart and format it to your specs. Then paste the chart into
another workbook, and use the utility linked to in the following
tutorial to change the series formulas, using the old and new workbook
and sheet names of the host workbooks.

If the sheets are identically named, you only need to search for the
workbook name enclosed in square brackets, and replace it with nothing.

How to Edit Series Formulas
http://peltiertech.com/WordPress/how-to-edit-series-formulas/

- Jon
 

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