Every now and then I have to update some rent-contracts which I do by hand. Is there a way I could create a program / app / gui that asks me for input and then changes those values in the (word) document?

So for example, if I open the gui, it will show something like: name tenant: rent fee: start date: end date:

And I could fill that in then and it would automatically give me the word document with the right values.

Is there a way I could program this or what would be recommended?

2 Answers 2


You can use the Mailing option in Word.

The Main function of this ribbon it to take given data and put it in given locations, then you can change the data and with one click the file will change too.

How to use Mailing in Word

How to make the best Excel file for Mailing


You could try using a form with fillable fields for the data that you want repeated in the document.

When a form is created, the field is assigned a bookmark name. Through the use of other bookmark-related fields, you may then reference the field elsewhere in the document, thus duplicating its content in more than one place.

This also allows tabbing through all the fields in order by using the Tab key, and also (if required) protecting the non-fillable text against modifications.

The Developer Tab is used when creating the form. With it one creates fillable fields, but also other content controls such as drop-down lists.

For more details, see these references (but many more can easily be found):

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .