0

I have a excel file, with some column like this Name DateTime (if value datetime existing then do not thing) Jonh 16/07/2015 9:30 (dd/MM/yyyy hh:mm) => date in system Jonh 16/07/2015 10:30

The question : are there any way to write some sciprt ant to update excel file with two properties : Name and DateTime When i run script ant, it's could be write new next row Jond 16/07/2015 11:30 Thanks.

Phai Vv
  • 1
  • 2

2 Answers2

1

I would suggest using an Excel manipulation library such as Apache POI called from a custom task or a JDBC driver for Excel, using the SQL task to update the XLS file.

Stavr00
  • 3,219
  • 1
  • 16
  • 28
1

This is not a trivial problem to solve. The following example uses a groovy script leveraging Apache POI to read/write Excel files:

Community
  • 1
  • 1
Mark O'Connor
  • 76,015
  • 10
  • 139
  • 185