How to type a letter in microsoft word 2010




















A letter format designed specifically for letters that are challenging to write, like letters of recommendation or resignation letters, is particularly useful.

These letter templates include sample text that can be customised or altered to fit your needs. There is also a series of free letter templates with healthcare and benefits messaging, suitable for medical practices and small businesses. And what letter template collection would be complete without a letter to Santa template?

Your kids will love it. Use a Word letter template to get your words out and make a lasting impression. Explore the collection now. Explore premium templates Bring your ideas to life with more customisable templates and new creative options when you subscribe to Microsoft Playful letterhead.

Eighties letterhead. Geometric letterhead. Explore premium templates. The data is a listing of addresses as shown in Figure 1. I retrieved the data from the workbook by using automation. For more information about this and other topics, see the Additional Resources section at the end of this column. The project retrieves the worksheet data as a comma-delineated string and parses it into an array.

A new document is then created from a template see Figure 2 and the main document part is opened and read into an XML document.

Next, the first bookmark and its associated text nodes are retrieved based on the bookmark ID zero-based by using an XPath query. The code then iterates through one or more text nodes. A bookmark may contain data split across multiple text nodes depending on how the bookmark was created and modified. For example, suppose that you insert a bookmark into a document by highlighting placeholder text, and adding the bookmark from the insert bookmark command on the Ribbon user interface.

Then, you go back and edit the placeholder text. In all likelihood, the placeholder text is now contained across multiple text nodes.

You must take multiple text nodes into consideration when updating bookmarks programmatically. When the code reaches the first text node, the associated piece of address data such as FirstName or Street is copied into it. The code then continues iterating through the remaining text nodes, deleting each one so that the result is one text node per bookmark that contains the address text.

This process continues for each bookmark. And finally the XML is written back to the main document part and the process continues, assuming that there is another address in the queue.

The result for one address is shown in Figure 3. All of this is explained in more detail as you read through the commented code later in this column. In the following steps, you create the Excel workbook that contains the address data and the template document with bookmarks. On Sheet1 , add the addresses shown in Figure 1. Save the workbook as Test. On the Insert menu, click Bookmark. In the Bookmark name box, type Date, and click the Add.

Next, highlight the FirstName item in the letter, open the Bookmark dialog, type FirstName in the Bookmark name box and then click Add. Repeat this procedure for the remaining address items in the order in which they appear in the letter: LastName , Street , City , State , Zip , Greeting. Was this information helpful? Yes No.

Thank you! Any more feedback? The more you tell us the more we can help. Can you help us improve? Resolved my issue. Clear instructions. Easy to follow. No jargon. Pictures helped. Didn't match my screen. Incorrect instructions. Too technical. Not enough information. Not enough pictures. Any additional feedback? Submit feedback. Thank you for your feedback!



0コメント

  • 1000 / 1000