Writing characters in a Word document
Posted: Sat Jan 25, 2025 2:21 pm
Hello everybody,
I would like to automatically create a PDF cover sheet for a PDF invoice collection. A Word template is to be opened for this purpose. Numbers are to be written in two places in the Word template. Then a PDF is to be saved.
So the steps are:
1. another software creates a yearly folder each year (e.g. 2025) and a monthly folder each month (e.g. 01) before the aforementioned software saves a PDF invoice (e.g. XYZ.pdf) in a subfolder (e.g. ...\2025\01\Invoice\OUT\XYZ.pdf)
2. robotask should now open a Word template for each monthly folder (e.g. 01)
3. have Robotask write the current month as a two-digit number at a specific position in the Word document (e.g. 01)
4. have Robotask write the current year as a four-digit number at a certain point in the Word document (e.g. 2025)
5. have Robotask create a "Data" folder in the month folder (e.g. ...\2025\01\Data)
6. robotask should save a PDF of the Word document in the "Data" folder (e.g. ...\2025\01\Data\Cover page.pdf)
Is this possible? If so, how?
I would be very grateful for your help.
best regards, Ján
I would like to automatically create a PDF cover sheet for a PDF invoice collection. A Word template is to be opened for this purpose. Numbers are to be written in two places in the Word template. Then a PDF is to be saved.
So the steps are:
1. another software creates a yearly folder each year (e.g. 2025) and a monthly folder each month (e.g. 01) before the aforementioned software saves a PDF invoice (e.g. XYZ.pdf) in a subfolder (e.g. ...\2025\01\Invoice\OUT\XYZ.pdf)
2. robotask should now open a Word template for each monthly folder (e.g. 01)
3. have Robotask write the current month as a two-digit number at a specific position in the Word document (e.g. 01)
4. have Robotask write the current year as a four-digit number at a certain point in the Word document (e.g. 2025)
5. have Robotask create a "Data" folder in the month folder (e.g. ...\2025\01\Data)
6. robotask should save a PDF of the Word document in the "Data" folder (e.g. ...\2025\01\Data\Cover page.pdf)
Is this possible? If so, how?
I would be very grateful for your help.
best regards, Ján