?
Solved

How to Copy Chart Across Multiple Similar Worksheets?

Posted on 2011-09-29
3
Medium Priority
?
625 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:Steve Lowry
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 8

Accepted Solution

by:
ragnarok89 earned 2000 total points
ID: 36817287
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
ID: 36817327
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:Steve Lowry
ID: 36892254
Thanks for your help.

Steve
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

777 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