+ Reply to Thread
Results 1 to 2 of 2

Chart format macro, activechart

  1. #1
    Registered User
    Join Date
    06-18-2013
    Location
    london
    MS-Off Ver
    Excel 2010
    Posts
    8

    Chart format macro, activechart

    Hi,

    Im trying to write a quick macro that formats excel charts. I want to select a chart and run the macro on the selected chart but im struggling to reference it properly (i.e. it refers to chart 11). Also i want to add a source text box in the bottom left hand corner of the chart but i've struggled to write this completely.

    EDIT: charts will have varying series, i want it to colour the series1=X, series2=Y etc and stop when the chart runs out series (obviously), however it hits an error if there is more series specified in the code than in the chart.


    Any help is appreciated
    Thanks

    Please Login or Register  to view this content.
    Last edited by gmn734; 10-04-2013 at 05:06 AM.

  2. #2
    Registered User
    Join Date
    06-18-2013
    Location
    london
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Chart format macro, activechart

    I have made some progress but am now stuck.

    Can someone help me insert a text box, insert text "xyz", format font type and size and place in the bottom left hand corner.

    and

    Re-jig the code for the series colours. If the chart only has two series then it comes up with an error (as there are four colour series in the code). I want it to just ignore the other series code if there arent that many series.

    Any help is apreciated, thanks

    Please Login or Register  to view this content.

+ 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 to format waterfall chart
    By floricita in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-28-2011, 08:12 AM
  2. Macro to set chart Area properties (3D-Format)
    By booo in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 03-07-2011, 04:21 PM
  3. macro for conditional format of sereis on chart
    By Ralem in forum Excel Charting & Pivots
    Replies: 20
    Last Post: 02-18-2011, 06:28 AM
  4. Macro To Format A Chart
    By SaintJimmy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-14-2010, 07:15 AM
  5. [Solved]Keeping the chart name as the activechart
    By protocoledu in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-20-2009, 12:37 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