+ Reply to Thread
Results 1 to 4 of 4

Macro that graphs based on user input

  1. #1
    Registered User
    Join Date
    09-05-2005
    Posts
    18

    Macro that graphs based on user input

    Hi

    I have no idea where to start...but i want to try and build a macro that will graph a data set based on user input.
    The graph would be a standard line chart with just a couple of series, and the data would come from a specifc location and be pre populated. It would be along the lines of:
    Week Commencing
    Deliveries for customer A
    Deliveries for customer B

    The aspect i want the user to be able to influence is the start/end date of the period the graph will cover.
    I was thinking if the user entered a wk commencing date, some sort of lookup could find that date in the series and order the macro to build a graph on the data offset below that.

    Help!!!

  2. #2
    Registered User
    Join Date
    09-05-2005
    Posts
    18
    Someone must have some ideas where to start? Please!

  3. #3
    Registered User
    Join Date
    06-13-2006
    Posts
    14
    You will need to change the graph used to the graph you need but this will give you a basic line graph where the user selects the data to be used.

    Basically you should be able to use the application input box for the selection of the data to be used on the graph. So if you need a different type of graph you could use the record macro function, make the correct graph type, then look at the code to see where the data is selected and replace that with the "myCell" range.

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    09-05-2005
    Posts
    18
    That really really helped - thakyou very much for your assistance!

+ 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