+ Reply to Thread
Results 1 to 2 of 2

chart series reshape with macro

Hybrid View

extremis chart series reshape with... 11-26-2014, 02:53 PM
extremis Re: chart series reshape with... 11-26-2014, 03:56 PM
  1. #1
    Forum Contributor
    Join Date
    04-26-2013
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    167

    chart series reshape with macro

    hi,

    I want to reshape my chart with macro. It's easy, instead of manually clicking on the series and move it one row to the right, I want a macro to do it for me..here my code. I get an error everytime..

    ActiveSheet.ChartObjects("Chart 5").Activate
        ActiveChart.SeriesCollection(1).Select
        ActiveSheet.ChartObjects("Chart 5").Activate
        ActiveChart.SeriesCollection(1).Resize = _
            "=SERIES(Tableau!$D$5;Tableau!$E$4:$N$4;Tableau!$E$5:$n$5;1)"
        ActiveSheet.ChartObjects("Chart 5").Activate
        ActiveChart.SeriesCollection(1).Formula = _
            "=SERIES(Tableau!$D$5;Tableau!$E$4:$O$4;Tableau!$E$5:$n$5;1)"

  2. #2
    Forum Contributor
    Join Date
    04-26-2013
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    167

    Re: chart series reshape with macro

    can somebody lend me a hand please ? I am bit confuse.
    Last edited by extremis; 11-26-2014 at 04:05 PM.

+ 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. [SOLVED] Macro buttons move/reshape when rows are deleted
    By nickmax1 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-15-2014, 07:28 AM
  2. Macro to add row to a chart's data series
    By FRIEL in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-22-2014, 04:32 PM
  3. Chart front-to-back series display if series are different chart types
    By Exconomist in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 10-06-2012, 06:49 AM
  4. Chart: add series dynamically (no macro)
    By davidebed in forum Excel General
    Replies: 3
    Last Post: 11-12-2010, 10:26 AM
  5. mixing column chart types for series and macro series?
    By riwiseuse in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 03-30-2010, 05:27 PM

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