Skip to content
Advertisement

Tag: excel

How to copy excel sheet to the same worbook?

I’m trying to copy an existing excel sheet to the same workbook(it contains 3 sheets ) in java using Apache poi . Here is what i did : after running this code, the workbook contains always 3 sheets , the “copy_file” is not created, i’m not getting any errors or exceptions . any idea ? Answer You need to open

Update Cell in excel file using Java Apache POI

I’m trying to update an empty cell in an existing excel file using Java ( Apache POI ), here is the code I wrote, I don’t get any errors and the values aren’t changed either . I get ” its null 2 ! ” in console . Any solutions? Thanks 🙂 Answer You need to open an output stream and

Advertisement