hello friend ,
i tried with the program with a hard coded value "excelData="2001338138". it is getting written .At hte same time i am using a bufferedreader and reading the data from the word file and storing it in string
variable line .now it is getting displayed in the command prompt .
now how do i make each data in the word or command prompt to be written into excel file .,,,,so that later i may extract the contents from excel easily
sample data to be put in doc file
how can i make each data of word document or on command prompt to be written to excel file so that extraction will be easy . Currently just for testing
purpose when i am hard coding the value the excel file is getting created displaying the value also in the first cell 
please can anyone help asap .