+ Reply to Thread
Results 1 to 9 of 9

Chart with Editable Date Range (user specified start date)

Hybrid View

  1. #1
    Registered User
    Join Date
    05-16-2009
    Location
    Dallas, Texas
    MS-Off Ver
    Excel 2008 for Mac
    Posts
    10

    Chart with Editable Date Range (user specified start date)

    I've got an excel sheet setup that also has a chart. The X-axis of the chart is a date range. What I'd like to do is allow a user to manually change the start date.

    So if the entire range of dates were 9/1/2008 - 5/25/2009, I'd like to have an input field that a user could adjust that will change the start date to whatever is entered.

    So if they type in 11/1/2008 then the chart will now only show the results from 11/1/2008 - 5/25/2009. Is this possible.

    Not sure if this matters as well, but my chart is on a separate sheet from the sheet the data is listed on.

  2. #2
    Forum Contributor starryknight64's Avatar
    Join Date
    09-27-2006
    Location
    Missouri
    MS-Off Ver
    2003 (Work) & 2007 (Home)
    Posts
    193

    Re: Chart with Editable Date Range (user specified start date)

    Try recording a macro to do exactly what you want, then edit the code to your fitting.

    So if the macro does something that uses a constant range (i.e. "A2:Z68") then you'll need to change that to the range you want.

    It may also help to have an example sheet if you'd rather have us do it.
    starryknight64

  3. #3
    Registered User
    Join Date
    05-16-2009
    Location
    Dallas, Texas
    MS-Off Ver
    Excel 2008 for Mac
    Posts
    10

    Re: Chart with Editable Date Range (user specified start date)

    Ok,

    Macro makes sense. However, from your explanation it sounds like there isn't a way to create a user interface for this? Essentially I guess I'm looking for a little GUI for the user to use. I don't want the user touching the raw data (or code). I just want them to see the results on the "results sheet" and on that sheet have a GUI that allows them to adjust the starting date.

    Not possible with just excel is it?

  4. #4
    Forum Contributor starryknight64's Avatar
    Join Date
    09-27-2006
    Location
    Missouri
    MS-Off Ver
    2003 (Work) & 2007 (Home)
    Posts
    193

    Re: Chart with Editable Date Range (user specified start date)

    Not entirely true. You can do various things to keep the user from seeing data you don't want to be seen (like protecting sheets for instance--which I don't know how to do).

    You can also straight up hide the cells you don't want to be seen. Just select the rows or columns you want to disappear, right click, and select hide.

    I hope this helps!

  5. #5
    Registered User
    Join Date
    05-16-2009
    Location
    Dallas, Texas
    MS-Off Ver
    Excel 2008 for Mac
    Posts
    10

    Re: Chart with Editable Date Range (user specified start date)

    Thanks Bud! It does help on one of the questions. However, if anyone else can address the GUI type of interface or input cell that could possibly update the starting date on the chart without the user having to get into any code or anything like that, I'd appreciate it.

  6. #6
    Forum Contributor starryknight64's Avatar
    Join Date
    09-27-2006
    Location
    Missouri
    MS-Off Ver
    2003 (Work) & 2007 (Home)
    Posts
    193

    Re: Chart with Editable Date Range (user specified start date)

    Would it be alright to have the user open up a spreadsheet (perhaps--this very one we're working on) and have a form pop up after it opens?

+ 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