Results 1 to 10 of 10

Creating chart in VBA? Chart based on user selected date?

Threaded View

  1. #1
    Forum Contributor
    Join Date
    03-31-2010
    Location
    Norway
    MS-Off Ver
    Excel 365
    Posts
    632

    Creating chart in VBA? Chart based on user selected date?

    Hi all,

    I was hoping I could get some assistance on creating a fairly basic line chart. I considered posting this in the charting section, but it might be that this is better solved using VBA?

    I created an additional sheet just to show a bit better what my problem is. My "raw data" is in a table in column J-O. I tried creating a chart using just this table, but it's a mess.

    In cells C3&4-F3&4 shows how Excel would like to read my data in order to print a line chart with paired data.

    Basically, the first data point is always 0 at 09:30 and the final data point is always at 16:00 with a corresponding price (see table).

    Maybe there is a smarter way to format/set up my data such that I can create charts directly from my tables?

    Chart.png

    Finally, I was thinking that it would be great if I could have the functionality of refreshing/drawing the chart by selecting the corresponding date. I could select the cell with date and then run the macro.

    Chart2.png

    Maybe this is too involved of a task to be asking here for free, but I figured I could ask.

    Thanks in advance for any help!

    Best regards,

    Elijah
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: 01-06-2018, 04:16 PM
  2. Creating chart based on user dropdown for x and y axis
    By matt3606 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 09-20-2017, 07:57 PM
  3. Creating a date based Gantt chart to track stock levels
    By freshchai in forum Excel General
    Replies: 1
    Last Post: 05-19-2017, 12:03 AM
  4. Creating a range for a chart based on cell date values
    By tinkerbelle in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-30-2015, 05:01 AM
  5. [SOLVED] Creating a chart that selects a range of data that is dependent on a value selected
    By FraserWM in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 01-28-2015, 11:58 AM
  6. [SOLVED] Creating a YTD total based on user selected value
    By curly45 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 07-21-2014, 06:46 AM
  7. Chart only user selected rows or columns with checkbox
    By tommypkoch in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 08-24-2013, 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