+ Reply to Thread
Results 1 to 3 of 3

VBA to show Horizontal Category axes in Charts

  1. #1
    Forum Contributor
    Join Date
    12-25-2011
    Location
    Lahore, Punjab, Pakistan
    MS-Off Ver
    Excel 2010
    Posts
    287

    VBA to show Horizontal Category axes in Charts

    Hi,

    Kindly check the attached file.

    What change is required in VBA code so that Horizontal Axes Months must be displayed as January, February, March etc instead of "1", "2" and "3".

    Consider in the excel table another row containing all months.
    Attached Files Attached Files
    Last edited by caabdul; 01-26-2014 at 02:10 PM.

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

    Re: VBA to show Horizontal Category axes in Charts

    You need to assign the XValues property for 1 of the series.
    You also need to provide a range that contains the information. You can not just change contents of row 4 as this breaks your formula. So in row 3 enter Jan, Feb, Mar etc.

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

  3. #3
    Forum Contributor
    Join Date
    12-25-2011
    Location
    Lahore, Punjab, Pakistan
    MS-Off Ver
    Excel 2010
    Posts
    287

    Re: VBA to show Horizontal Category axes in Charts

    Thank you, but done this already yesterday!!!

+ 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. getting the same position axis with 2 horizontal axes
    By niklas24 in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 07-01-2013, 11:19 PM
  2. Adding a horizontal line to a chart that already has 2 axes?
    By Nakia6 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 10-27-2009, 02:04 PM
  3. Pivot chart overlay multiple horizontal axes
    By Cheeky Charlie in forum Excel Charting & Pivots
    Replies: 8
    Last Post: 11-26-2008, 12:00 PM
  4. two category axes?
    By fredrp in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 11-06-2008, 06:24 AM
  5. [SOLVED] Show 'incomplete' axes & show ticks but NOT axes?
    By Jay in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 06-13-2006, 11:50 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