Hi,
I am new to macros and have a project that needs to be completed. I have found some useful code such as opening and saving, but I have a long ways to go.
The macro needs to:
1. Run on OO Calc open
2. Display dialog box to open csv file into sheet 2 (number of sample points will vary form file to file)
3. Graph data (x-y lines only) on sheet 1 using Y1 and Y2 as legend and inserting X, Y, and title names
4. Save to a new file (original file must be kept so the process can be repeated)
It would be nice to:
Import second set of csv data and plot on same graph as csv data 1 so the two can be compared
Have multiple y axis legends for Y1, Y2, etc..
Have a variable number of input columns (Y1, Y2, Y3, etc..)
Input Format
X,Y1,Y2
1,50,30
2,75,25
3,90,20
Thanks for your help

