# Editing a document in Word

> How to populate a contract with data from project materials while preserving its original formatting.

> **This content was translated automatically and may contain inaccuracies.**

import VideoEmbed from '../../../../../components/blog/VideoEmbed.astro';

The agent in the add-in can edit the open document according to your instructions while using files stored in the project as source material. For example, with an employment agreement template, you can ask it to take the required details from selected documents and insert them in the correct places.

The proposed changes are applied directly to the contract. The add-in respects the original styles and formatting, so you do not have to manually reformat the document after the data has been inserted.

<VideoEmbed url="https://pub-08e12a5d6d1a4d8d9a6a9c77b4ae3e84.r2.dev/homepage/academy/ETC%20-%2019%20-%20Word%20edit.mp4" title="Editing a document in Word" />