+ Reply to Thread
Results 1 to 2 of 2

Dynamic setting of x axis minimum value

  1. #1
    Registered User
    Join Date
    06-30-2014
    Location
    Bergen, Norway
    MS-Off Ver
    Windows 7
    Posts
    4

    Dynamic setting of x axis minimum value

    Hi,
    I have a graph where dates are shown on the x axis. I would like the date range always to start on the date when I am updating the chart, e.g. sourced from a cell with formula =now().

    Ideas, anyone...?

    Kind regards,
    Knut Kvinnsland

  2. #2
    Registered User
    Join Date
    06-30-2014
    Location
    Bergen, Norway
    MS-Off Ver
    Windows 7
    Posts
    4

    Re: Dynamic setting of x axis minimum value

    Solved this one myself, I think. Using VBA to update the chart here.

    Range("B3").Select
    Application.CutCopyMode = False
    Selection.Copy
    ActiveSheet.ChartObjects("Diagram 5").Activate
    ActiveChart.Axes(xlValue).Select
    ActiveChart.Axes(xlValue).MinimumScale = ActiveCell
    ActiveChart.Axes(xlValue).CrossesAt = ActiveCell

+ 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. How to make the minimum axis option dynamic ?
    By vanashish in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 02-04-2012, 08:15 AM
  2. How to make the minimum axis option dynamic ?
    By vanashish in forum Excel General
    Replies: 0
    Last Post: 02-02-2012, 12:49 PM
  3. Dynamic Setting for Chart Axis Minimum
    By life2539 in forum Excel General
    Replies: 1
    Last Post: 09-20-2011, 07:30 PM
  4. Setting the Fixed Axis Minimum w/Cell Reference
    By ih8xc in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 03-22-2011, 05:36 PM
  5. Setting a Minimum X-axis Value to Stacked Bar Chart
    By Juhanen II in forum Excel General
    Replies: 1
    Last Post: 04-21-2009, 11:24 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