I have to fill in word templates with predefined information (ex: Product code / Material Number, Batch code / Batch Number, Product Description, Manufacturing date / Production date, Expiration date, etc ..).
These models are similar but not the same (it's not possible to insert bookmark properties, label etc.).
Is there an engine that allows for this? Like the one who extracts the data, it has to replace it.
I have a program that generates me a generic report about a product.
I have to put the information in the report in a specific word document for each country.
The various templates are similar, but I cannot modify them by inserting "bookmarks" or "properties" at the position into which the information is to be entered. I have to parse the document to find the location and then replace the value.
For example one word document is similar:
Product code: XXXXX
Batch Number: XXXX |
| |
Expiry Date: MM-YYYY | Manufacturing Date: MM-YYYY |
|
I have to replace XXXXX, XXXX, MM-YYYY, MM-YYYY with the correct values
Hi,
it is not the solution I need, in the example it inserts metadata in the template word to be replaced later.
I cannot insert metadata in the document, but I should find the position to insert the data by "reading" the document and identifying the position
Hi @paronchi
Maybe you can use office scripts to do that. You have an excellent video by @DamoBird365 here: Microsoft Forms to PDF – No Premium Actions - DamoBird365
Hope that helps!
Ferran
WarrenBelz
146,645
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,997
Most Valuable Professional