Import & Export Excel .xlsx to Processing

edited July 2016 in Share Your Work

Hi there.

http://conorblack.wordpress.com/2014/03/23/export-import-processing-excel-xlsx/

This is a link to [not a library], but to a simple sketch that has two functions that utilises apache poi to import & export to excel .xlsx files.

For import: it simply converts the imported Excel table to a 2d string array. For export: it [simply again] converts a 2d string array to an Excel file.

Please try it out :)

Tagged:

Comments

  • Interesting and useful.

    But since it is not about a library you made, I moved the topic to Share your Work.

    Thanks.

  • super helpful conorblack, thanks a million!

    Was missing a row somehow, could be my file, but just changing this line in importExcel() fixed me right up:

    int sizeX = sheet.getLastRowNum()+1; // added the "+1"

Sign In or Register to comment.