nagovind
Member
Please help by providing a code to generate XY Scartter chart
the criteria is as below
Existing XY Chart is in the sheet ---> PLOT ..here the sheet name is PLOT
XY scarter chart is alreay existing
I need to add more curves into the existing chart
As there are more curves need to be added in to the existing chart, it is hard to type each curve name and the range in to the exiting chart hence the use of VBA code
Existing curves are as below
Name K1
Range X axis ='Calculations(1)'!$P$10:$P$30000
Range Y axis ='Calculations(1)'!$Q$10:$Q$30000
Name K2
Range X axis ='Calculations(1)'!$P$29950:$P$59950
Range Y axis ='Calculations(1)'!$Q$29950:$Q$59950
--------------------------------------------------
Now i need to add new curves as K3, K4 and so on
--------------------------------------------------
For the ranges 59900 ---89900; 89850 -----119850 ; 119800 -----149800 and so on
So to include the above in the already existing XY scarter chart please provide vba CODE
thanks
the criteria is as below
Existing XY Chart is in the sheet ---> PLOT ..here the sheet name is PLOT
XY scarter chart is alreay existing
I need to add more curves into the existing chart
As there are more curves need to be added in to the existing chart, it is hard to type each curve name and the range in to the exiting chart hence the use of VBA code
Existing curves are as below
Name K1
Range X axis ='Calculations(1)'!$P$10:$P$30000
Range Y axis ='Calculations(1)'!$Q$10:$Q$30000
Name K2
Range X axis ='Calculations(1)'!$P$29950:$P$59950
Range Y axis ='Calculations(1)'!$Q$29950:$Q$59950
--------------------------------------------------
Now i need to add new curves as K3, K4 and so on
--------------------------------------------------
For the ranges 59900 ---89900; 89850 -----119850 ; 119800 -----149800 and so on
So to include the above in the already existing XY scarter chart please provide vba CODE
thanks