I have a Word template that contains an empty table with a fixed number of rows (e.g., 10 rows). When exporting the template, I need the system to populate only the rows that contain data while keeping the remaining rows empty.
However, instead of filling the existing rows, the system currently appends new rows at the bottom of the table, leaving the original rows empty. For example, if I populate the first 3 rows, I end up with 12 rows—9 empty ones and 3 new filled ones—rather than having the first 3 rows filled and the remaining 7 left blank.
I understand that one workaround is to have a single row with placeholders and dynamically add empty rows as needed. However, since I work with multiple templates where the number of empty rows varies, I’m looking for a more dynamic solution that adapts to different templates without manual adjustments.
I am sending attached the OML with my implementation, the template I am using as well as the export result.
Does anyone have suggestions on how to achieve this?
Hi Jean,
Just made available a new version of OfficeUtils (5.2.2) that addresses your requirement.
Best,
Bruno