+ Reply to Thread
Results 1 to 2 of 2

vba code to create chart and fix the axis of the chart

  1. #1
    Registered User
    Join Date
    09-25-2012
    Location
    Gurgaon
    MS-Off Ver
    Excel 2007
    Posts
    25

    vba code to create chart and fix the axis of the chart

    Hi All,

    i am creating chart with the help of macro.
    every time data changes( values and number of rows and columns)
    whenever there is less then 3 row data chart changes its axis, and i have to switch row/column.
    Please help how to get rid of this problem.
    Below is the code
    Please Login or Register  to view this content.

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

    Re: vba code to create chart and fix the axis of the chart

    Take a look at the PlotBy method.

    Please Login or Register  to view this content.
    xlRows is the other alternative.
    Cheers
    Andy
    www.andypope.info

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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