Results 1 to 6 of 6

Adjusting chart Y-axis value using VBA

Threaded View

  1. #1
    Registered User
    Join Date
    10-31-2010
    Location
    London
    MS-Off Ver
    Excel 2007, Excel 2010
    Posts
    56

    Adjusting chart Y-axis value using VBA

    Hi All,

    I have a chart whose minimum value I would like to adjust based on the minimum value in a named range. So for eg if my named range is called Average_weight and if the minimum value of this named range is 40 then I would like the chart's Y-axis to have a minimum value of 40.

    How could I achieve this? Also I would like it to be done such that the minimum value is a rounded down figure i.e. if the minimum value of the named range comes to be 38.76 the minimum value of the Y-axis should be 30. If the minimum value comes to be 22.3 the minimum value of the Y-axis should be 20. This would let me maintain intervals of 10 on my Y-axis.

    Many Thanks
    Last edited by goels; 11-07-2011 at 08:05 AM.

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