+ Reply to Thread
Results 1 to 3 of 3

Referencing an external source to set Chart Axis Scale

  1. #1
    Forum Contributor
    Join Date
    04-23-2014
    Location
    Liverpool...ish
    MS-Off Ver
    Excel 2013
    Posts
    126

    Referencing an external source to set Chart Axis Scale

    Quick Question: Is their any way to referance another cell as the source for a chart axis scale setting? Like pointing 'Maximum Fixed' to cell 'D7'

    AxisOptions.png

    Thanks

    Scott

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,623

    Re: Referencing an external source to set Chart Axis Scale

    You asked about "any"
    Not super_easy - but there is.
    You can use event handler for worksheet change event (if D7 is written in. if it is a result of formula - then either worksheet Change for source cells for this formula or Calculate event shall be taken into account.

    Sample code to be inserted in your worksheet code (see attachment):

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Best Regards,

    Kaper

  3. #3
    Forum Contributor
    Join Date
    04-23-2014
    Location
    Liverpool...ish
    MS-Off Ver
    Excel 2013
    Posts
    126

    Re: Referencing an external source to set Chart Axis Scale

    The question was somewhat academic I suppose. I had previously seen code similar to yours that set Max, Min, and Tick but was curious if a method existed without using VBA. I do thank you for your response as it looks as if I will likely go the code route. The problem is, I have a good many charts and was looking for a more direct way of getting it done.

    Thank You

    Scott
    Last edited by TheScott; 03-27-2015 at 11:14 AM.

+ 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. [SOLVED] Setting Chart Axis Scale by referencing a cell in the worksheet
    By Grimace in forum Excel Charting & Pivots
    Replies: 11
    Last Post: 11-19-2013, 11:23 AM
  2. 3d chart with x axis in log scale
    By Lubica in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 04-18-2012, 09:35 AM
  3. Using log scale for chart axis
    By xcelsie in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 08-04-2009, 07:22 PM
  4. Chart X axis out of scale
    By vtodorov in forum Excel General
    Replies: 4
    Last Post: 08-27-2008, 06:51 PM
  5. How do I scale the axis of a chart from external data so that dis.
    By statherdunn in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 01-10-2005, 02:06 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