Design the page according to the image below:.Insert a page break to add another page to the Word document.Design the first page according the image below:.Name the file DataTemplate.dotx because that’s what I named mine. Write down its location because you will need when you test your code. You can save to the location of your choice. Perform a Save As command and save the file as.We might, if we are living right, have an idea about how the document will be utilized by users.įor this sample, you need to do the following: After we build the template, we can write code around it because we know its structure. Creating a Word templateīefore we write code, we need a document template. Instead of inserting data “willy-nilly”, we need to find where to insert it within the document’s pre-defined structure. The difference is, we will use a pre-built template for inserting data. This is a continuation of the work we did in my previous article – Populating Word documents with data from external sources.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |