Intro
Create a calendar document for any month/year combination.
The template document for this demo is a blank calendar with Word merge fields in every date block. The code in this demo determines the current month and year using a DateTime Object, does some calendar calculations (eg, figuring out which day of the week the month begins on and how many days are in the month), and finally pushes the date, month, and year data into the document with WordTemplate.
Code
Downloads
Template: CalendarTemplate.docx
Output: Calendar-7-2013_output.docx