+ Reply to Thread
Results 1 to 2 of 2

Chart Style VBA - No Axis Titles?

  1. #1
    Registered User
    Join Date
    10-30-2009
    Location
    UK
    MS-Off Ver
    Excel 2003, 2007, 2010
    Posts
    60

    Chart Style VBA - No Axis Titles?

    Hi folks

    I've got a macro which loops through data and creates a new chart for each set, however I'm having problems with getting axis titles on to the charts - the code runs correctly and creates the charts, but I don't seem to be able to get any axis titles to show.

    I've tried three differing codes to try to add the x-axis title, but it's just not happening.



    Please Login or Register  to view this content.

    This is what the macro recorder (Excel 2010) shows me for adding the axis title - but it remains blank with this code too.

    Please Login or Register  to view this content.

    Could it be because I'm using pre-set formatting of ChartStyle? Does that not allow for axis titles to be added?

    Thanks in advance.

  2. #2
    Registered User
    Join Date
    10-30-2009
    Location
    UK
    MS-Off Ver
    Excel 2003, 2007, 2010
    Posts
    60

    Re: Chart Style VBA - No Axis Titles?

    Solved it myself - for some bizarre reason I had the following later in my code without realising it, so I had been adding the axis title and then removing it again. Doh!


    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. Resizing Bar Chart Axis Titles
    By phartgejr in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 06-09-2015, 12:41 PM
  2. How do you add axis labels and titles to a Chart via VBA?
    By bananajelly in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-28-2014, 06:00 PM
  3. Formulas in Chart Titles & Axis Titles
    By Bobbbo in forum Excel General
    Replies: 1
    Last Post: 05-20-2010, 02:02 PM
  4. I have problem with chart titles Value 'Y' Axis
    By Ramesh Babu in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-03-2006, 08:35 AM
  5. chart axis Titles
    By seedbankstudy in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 10-05-2005, 01:41 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