+ Reply to Thread
Results 1 to 2 of 2

Need VBA to edit Chart Series using active worksheet?

  1. #1
    Registered User
    Join Date
    01-14-2013
    Location
    Maine
    MS-Off Ver
    Excel 2007
    Posts
    53

    Need VBA to edit Chart Series using active worksheet?

    Hello,

    I have a template worksheet that I use to create other worksheets by copying and pasting sections of the template on to new worksheets. The template contains two charts. The charts that are copied onto the new worksheet are still referencing the template to get its series ranges from but I need them to be referencing the new worksheet.

    Since the name of the new worksheet is everchanging, how do I reference it in the series values? I was thinking I can use the macro to edit like this...

    Please Login or Register  to view this content.
    And this will edit the charts data to look like this:

    Capture.PNG

    But I don't know the worksheet name (eg. Sheet2 could be a large number of things) so I am not sure what to put in my code that will insert the active worksheets name here...

    Please Login or Register  to view this content.
    [/CODE]


    Hope that makes sense, perhaps it is not possible?

  2. #2
    Registered User
    Join Date
    01-14-2013
    Location
    Maine
    MS-Off Ver
    Excel 2007
    Posts
    53

    Re: Need VBA to edit Chart Series using active worksheet?

    Is that a bad image type to use? I can post a different type.

+ 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. Series function disappears from Chart series edit
    By lloydsp in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-28-2011, 07:45 PM
  2. Macro to edit active chart on active worksheet
    By shlurpee in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-07-2011, 04:58 AM
  3. Naming a worksheet as a variable in a Active Chart Series
    By Farooq Sheri in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-26-2006, 04:10 AM
  4. [SOLVED] Copying Chart with Chart Series from Worksheet Name
    By Joel Mills in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-25-2005, 09:05 AM
  5. [SOLVED] How to embed chart in active worksheet with VBA?
    By deko in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-04-2005, 02:06 AM

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