+ Reply to Thread
Results 1 to 3 of 3

Changing chart reference to active sheet when copied

  1. #1
    Registered User
    Join Date
    04-10-2015
    Location
    FRA
    MS-Off Ver
    2010
    Posts
    20

    Changing chart reference to active sheet when copied

    Hi all,

    I hope someone can help. I am copying all information stored in sheet MasterReport to new tabs by macro. Everything is transfered. But unfortunately I have charts which are still referencing to the original sheet. Please, could someone tell me how code can change the reference of the chart to the active sheet. Also the chart title (referenced to a cell) should change to the active sheet. I have tried the macro recorder but unfortunately the created code destroys the stacked column charts.

    I have attached a sample file containing the code in Modul 1.

    Many thanks,

    fxmu
    Attached Files Attached Files

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

    Re: Changing chart reference to active sheet when copied

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

  3. #3
    Registered User
    Join Date
    04-10-2015
    Location
    FRA
    MS-Off Ver
    2010
    Posts
    20

    Re: Changing chart reference to active sheet when copied

    Many many many thanks! This is great!

    fxmu

+ 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. Macro with reference to active chart on active sheet
    By bhavikpatel in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-14-2014, 10:43 AM
  2. Replies: 1
    Last Post: 01-27-2014, 06:18 AM
  3. Changing font.colorindex on non active sheet
    By coasterman in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-10-2012, 06:49 PM
  4. Changing a cell reference as a sheet is copied
    By kylieilyk in forum Excel General
    Replies: 2
    Last Post: 06-10-2010, 07:47 PM
  5. Changing code that set's print area...to active sheet only
    By KimberlyC in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-10-2005, 06:05 PM

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