Solved

How to Copy Chart Across Multiple Similar Worksheets?

Posted on 2011-09-29
3
573 Views
Last Modified: 2012-06-21
I have a workbook with multiple worksheets with data in the same format in each.  I would like to take a chart formatted for the first worksheet, and copy it to all of the other worksheets to utilize the same formating but use the data in its own worksheet.  

I know I can copy the first chart and paste with source formatting to the other worksheets, and then change the source data in each chart.  Is there an easier way to accomplish this?
0
Comment
Question by:sxlowry
3 Comments
 
LVL 8

Accepted Solution

by:
ragnarok89 earned 500 total points
Comment Utility
Yes,

on a sheet that has only data, start recording a Macro. Build your chart, and stop recording. Now you have a VBA macro that builds charts on whatever worksheet you happen to be on. Just add a loop to your macro, like:

For each sht in worksheets
   range("A1").select
   --- recorded macro code ---
next sht

That should do it.
0
 
LVL 9

Expert Comment

by:Ramanhp
Comment Utility
u simply create one sheet ( i.e. the first sheet) the way u have

now simply create a duplicate copy of that sheet
to achieve this, just drag the sheet bar from the bottom holding the ctrl key
thats all,

repeat the above step for any new sheet u like to create.

i hope this will save your time and give u results as desired
0
 

Author Closing Comment

by:sxlowry
Comment Utility
Thanks for your help.

Steve
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Many companies are making the switch from Microsoft to Google Apps (https://www.google.com/work/apps/business/). Use this article to learn more about what Google Apps has to offer and to help if you’re planning on migrating to Google Apps. It is …
Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now