Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 10
Default Excel macros to plot data in a line graph

hi i am new to vb and was wondering if i can ask for some help. basically i have an excel spreadsheet emailed to me once a day. i have written a script to send this file from outlook to my folder in /c/users/documents/attachments/.

what i want to do is trend the data (only the ticket column and category column will be looked at) in the excel spreadsheet each day, so i want to create a macros button that will look into this folder and grab the most recent file and add plot it to the chart. not sure if its easier to select all the file i want in the folder at one time and then run the macros to spit out 1 spreadsheet, or if its easier to keep a running file and just tack on the next days data to it.


i included a zip file of 3 test data files and a key file. the key file contains ALL the categories i want to trend. not EVERY test file will have all the categories in the KEY file so for those days, the data will just be zero.

the name of the test files have the dates in them so i can have the macros reference this to know which date to plot (the X axis should contain the dates and the Y axis contains the Ticket count, and each of the 44 categories will be color coded so ill know which color means which category)
Attached Files
File Type: zip test.zip (11.8 KB, 29 views)
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I fit a line on an excel plot to a portion of the data? mechengstudent Charts and Charting in Excel 4 April 21st 23 09:05 PM
Macros to convert Data into date format and then plot in graph taimysho0 Excel Programming 7 March 5th 14 06:21 PM
how do I plot a constant value in a line graph? Debby Blaine Charts and Charting in Excel 2 April 11th 06 09:08 AM
Scatter plot and line graph combination Tim Gilderseeve Charts and Charting in Excel 2 June 11th 05 07:53 AM
How do I plot both line and column data on same graph? Jackie Charts and Charting in Excel 1 May 3rd 05 05:10 PM


All times are GMT +1. The time now is 01:54 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"