hey raghav
is it the thing u did
if not send me u r code snippet and thanks for sending intresting querys
and where r u working now
and how the culture in u r company
import java.io.*;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.apache.poi.hssf.usermodel.HSSFCell;
import org.apache.poi.hssf.usermodel.HSSFSheet;
import org.apache.poi.hssf.usermodel.HSSFRow;
import org.apache.poi.poifs.filesystem.POIFSFileSystem;
public class POIFS
{
public POIFS(){
}
public static void main(String[] args){
try
{
POIFSFileSystem fs = new POIFSFileSystem(
new FileInputStream(
"C:\\raju.xls"));
// create a workbook out of the input stream
HSSFWorkbook wb = new HSSFWorkbook(fs);
// get a reference to the worksheet
HSSFSheet sheet = wb.getSheetAt(0);
// create rows from 5 fill values in the 3rd column
HSSFRow row1 = sheet.createRow((short) 4);
// create a cell on the 3rd column
HSSFCell c1_3 = row1.createCell((short) 3);
FileOutputStream out = new FileOutputStream("C:\\result.xls");
wb.write(out);
}
catch (Throwable t){
t.printStackTrace();
}
}
}
by Cheers
RAJESHWAR