Hi SPCGeek2

Thanks a lot for the quick response

First of all let me answer your question why this macro is so important

actually i work for some other tool, C#.NET and i normally generate all the graphs throght C#.NET itself but then this time the requirement is more complex and it requires some statistical analysis and more over i have purchased MINITAB 14 long ago for some other requirement. So thought of generating the graphs through a macro in minitab and saving it in a folder where my application can access it. and about the update to MINITAB 15 right now frankly speaking i cannot afford it.

I would request you to please extend your support as i am completely new to this ,i have never used MINITAB before but am sure i would like to work on it now.

could you please look at the following code , i made all the changes you have told and the grph was working fine for one column but then my requirement is like there should be two Y axis (columns) ,

one would be 'Warranty Claims as Percent of Known Sales'

and other one would be a function for 'count of Known sales '

and the X axis would involve the text colums Description. Please let me know what is going wrong here

GMACRO

STARTUP

ECHO

read C1-C3;

file "E:\Weibull\MINITAB.14 on hst-pcs-19475\Macros\abc.txt";

TAB.

Name C1 'Description'

Name C2 'Known Sales'

Name C3 'Warranty Claims as Percent of Known Sales'

Chart ('Known Sales') * 'Description';

Summarized.

DatLab 'Warranty Claims as Percent of Known Sales'

BAR.

ENDMACRO

Please look at the attachment i have attached the graph which i got from my colleague and this is how i need to generate a graph in Minitab , but then i am not able to get both that bar graph and the line chart in the same graph so i thought i would generate a bar graph and try to label the third column values on these bars. Please let me know if a graph like the one attached is possible in Minitab

Thanks once again for helping me out !!