How to append the data in specific hole in the .dotx template
6 views (last 30 days)
Sapna Chaudhary on 26 May 2021
I have .dotx template in which I have created various holes and given the title name.
How I can append the data in the specific hole in the template.
I tried the below command but it is not working.
holeID = moveToNextHole (docObj)
Rahul Singhal on 26 May 2021
Here is an example on how to fill holes in the templates: https://www.mathworks.com/help/rptgen/ug/fill-in-the-blanks-in-a-report-form.html
Also, make sure you followed these steps to create holes in your .dotx template, so that it can be detected by the MATLAB report generator: https://www.mathworks.com/help/rptgen/ug/add-holes-in-a-microsoft-word-template.html