+ Reply to Thread
Results 1 to 9 of 9

Copy Excel Graphs into new worksheet without graph linking to original worksheet data

Hybrid View

  1. #1
    Registered User
    Join Date
    04-09-2008
    Posts
    22

    Re: Copy Excel Graphs into new worksheet without graph linking to original worksheet

    Screenshot attached

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

    Re: Copy Excel Graphs into new worksheet without graph linking to original worksheet

    Find and Replace will not work on the charts Series formula.

    You would need code to alter the series formula directly, so something like

    activechart.SeriesCollection(1).formula=replace(activechart.SeriesCollection(1).formula,"$B$","$C$")
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    04-20-2011
    Location
    Oxford, UK
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: Copy Excel Graphs into new worksheet without graph linking to original worksheet

    Quote Originally Posted by Andy Pope View Post
    Find and Replace will not work on the charts Series formula.

    You would need code to alter the series formula directly, so something like

    activechart.SeriesCollection(1).formula=replace(activechart.SeriesCollection(1).formula,"$B$","$C$")
    Hi there,

    this is exactly what I need to know. I have generated quite a complicated - at least big - spreadsheet and realised in the end that I couldn't blot my data (problems with blotting time [hh]). So I have copy pasted the graphs from tab "analysis a" to all other analysis-tabs. Unfortunately, all refer to analysis a and replacement using ctrl+H doesn't work.

    Does anybody know the solution? I do not know where I should use the code.

    Many thanks!

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

    Re: Copy Excel Graphs into new worksheet without graph linking to original worksheet

    Your post does not comply with Rule 2 of our Forum RULES. Don't post a question in the thread of another member -- start your own thread. If you feel it's particularly relevant, provide a link to the other thread.


    Have a read of Jon Peltiers article, which includes code sample.
    http://peltiertech.com/WordPress/cha...oved-routines/

    The code example in this thread can be used in the immediate window

    ALT_F11 to go to VBE
    CTRL+G to go to immediate window

    Enter command in window and press enter.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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