+ Reply to Thread
Results 1 to 6 of 6

paste charts across multiple worksheets

  1. #1
    Registered User
    Join Date
    10-04-2013
    Location
    sheffield, england
    MS-Off Ver
    Excel 2010
    Posts
    38

    paste charts across multiple worksheets

    dear friends,

    I have an xls workbook with 100 worksheets, each named for one employee. All the worksheets have 5 similar tables with data. whilst the tables and headers are similar, the data varies from employee to employee. I wish to insert similar column charts besides each table - across all 100 worksheets. Is there a way of doing this at one go - ie without having to insert charts manually into each worksheet, beside each table?
    While I can use 'ctrl' to change tables across all sheets simultaneously, same function is not active for 'insert - chart'. Please help.

    yours

  2. #2
    Forum Contributor ryan4646's Avatar
    Join Date
    06-10-2013
    Location
    Australia
    MS-Off Ver
    Excel 2003, 2007
    Posts
    134

    Re: paste charts across multiple worksheets

    Hi murthigvs,

    For 100 worksheets, i think it will be better if u upload a sample excel file for reference. This can help all to understand your problem more easily and give you solution asap.
    thanks,

    Ryan

  3. #3
    Registered User
    Join Date
    10-04-2013
    Location
    sheffield, england
    MS-Off Ver
    Excel 2010
    Posts
    38

    Re: paste charts across multiple worksheets

    dear ryan,
    thanks. pl see attached xls with sample worksheet for 1-3 employees. i would like the charts to be pasted across all the worksheets, but at the moment, when I copy and paste the first worksheet, and change the data for each employee, the charts do not change accordingly. hope that is clearer.

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,481

    Re: paste charts across multiple worksheets

    you need to update the series formula reference from sheet name where it was copied from to new sheet name

    Please Login or Register  to view this content.
    Cheers
    Andy
    www.andypope.info

  5. #5
    Registered User
    Join Date
    10-04-2013
    Location
    sheffield, england
    MS-Off Ver
    Excel 2010
    Posts
    38

    Re: paste charts across multiple worksheets

    dear andy,

    i am a very basic xls user. can u pl explain further. currently i have a list of 100 employees in column A of 'data' worksheet, with a button 'create pages'. when i press the button, worksheets with names from colum A in 'data' are created. i have manually filled data into each table in each worksheet by copy-paste from a pivot table.
    what do i need to do to use your code to enable charts to appear in all 100 worksheets beside the table from the template in 'employee 1' worksheet? or should i create a 'master worksheet'?

  6. #6
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,481

    Re: paste charts across multiple worksheets

    First place the code in a standard code module of the workbook.

    Once you have produced and populated the employee sheets you can select 1 of the sheets and then run the macro.
    Assuming all the employee sheets you create have the chart series pointing to worksheet 'Employee 1' then no change is requried. If not then you need to change 'Employee 1' in the code to be what ever the base worksheet is.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Copy/Paste Range of Data from Multiple Workbooks/Worksheets to Master Workbook/Worksheets
    By NumberCruncher311 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-19-2013, 08:21 PM
  2. Multiple charts - one or several worksheets??
    By Dano in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 01-26-2010, 11:56 PM
  3. Multiple Charts and Worksheets
    By fletchspur in forum Excel General
    Replies: 1
    Last Post: 08-24-2009, 08:38 AM
  4. using vb to create charts over multiple worksheets
    By mania112 in forum Excel Charting & Pivots
    Replies: 31
    Last Post: 06-05-2009, 10:08 AM
  5. Multiple charts over multiple sets of data over multiple worksheets.
    By matrocka in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-12-2007, 10:01 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1