Hi,
i have created a graph in excel from a progress program but the actual graph appears has a stacked graph but what I require is a combination of a stacked graph and a line graph. I have created a macro in excel which resolves this problem but everytime i run my progress code I keeping getting the original graph.
The vb code for the excel macro is as follows
ActiveSheet.ChartObjects("Chart 1").Activate
ActiveChart.SeriesCollection(2).Select
ActiveChart.SeriesCollection(2).ChartType = xlLine
ActiveChart.SeriesCollection(3).Select
ActiveChart.SeriesCollection(3).ChartType = xlLine
ActiveChart.SeriesCollection(5).Select
ActiveChart.SeriesCollection(5).ChartType = xlLine
Can anyone help convert the above code into Progress code so that I can hopefully use this code in my program to automatically alter my graph.
TIA
Gurnek.
i have created a graph in excel from a progress program but the actual graph appears has a stacked graph but what I require is a combination of a stacked graph and a line graph. I have created a macro in excel which resolves this problem but everytime i run my progress code I keeping getting the original graph.
The vb code for the excel macro is as follows
ActiveSheet.ChartObjects("Chart 1").Activate
ActiveChart.SeriesCollection(2).Select
ActiveChart.SeriesCollection(2).ChartType = xlLine
ActiveChart.SeriesCollection(3).Select
ActiveChart.SeriesCollection(3).ChartType = xlLine
ActiveChart.SeriesCollection(5).Select
ActiveChart.SeriesCollection(5).ChartType = xlLine
Can anyone help convert the above code into Progress code so that I can hopefully use this code in my program to automatically alter my graph.
TIA
Gurnek.