Solved

How to Copy Chart Across Multiple Similar Worksheets?

Posted on 2011-09-29
3
621 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
[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 500 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:sxlowry
ID: 36892254
Thanks for your help.

Steve
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
Having trouble getting your hands on Dynamics 365 Field Service or Project Service trial? Worry No More!!!
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
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…

689 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