Hello everyone ,

I'm trying to update an existing Excel file(.xls) and add some rows in it .
I already can open an xls and display it in a jTable, but i want to add rows to a specific sheet that i choose in a combobox . My xls have multiple sheets .

Can anyone help please ?

Thanks Yeztzederixx , i'll try with that . (y)

Is there a way to copy a sheet from an existing Excel file to another one ?

I am trying to update data into the xlsheet but it displays an error please guide me .I write ike this

sring statusupdate="update [sheet1$] set [Result]='pas' where Tcid1+"="+T001+";";

Please don't hijack other people's threads.
Start you own new thread and someone will help