title: Write data in excel(xlsx) sheet having a table
body: <p>I am trying to write dynamic data in an excel sheet (xlsx) having a table already created, based on which we plot a chart in excel itself, using a macro.</p>
  
  <p>I am using POI to write the data.</p>
  
  <p>The table in the sheet has been set to 10 rows. When I write data for more than 10 rows, the table does not get expanded.So, the chart plotted contains data  corresponding to 10 rows only.</p>
  
  <p>How can I write data, so that the data always expands the table to number of rows in the data?</p>