If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Inserting charts into many workbooks
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? |
#2
|
|||
|
|||
Inserting charts into many workbooks
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...ries-formulas/ - Jon ------- Jon Peltier Peltier Technical Services, Inc. http://peltiertech.com/ vbazen wrote: 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? |
Thread Tools | |
Display Modes | |
|
|