• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

8. Forms and Fields > 75. Include an Interactive Calendar in Your Forms

Include an Interactive Calendar in Your Forms

This hack shows you how to implement an easy-to-use calendar for choosing dates from within a form or other document.

If you use Word’s Forms feature, many of your forms probably include DATE fields. Word provides some dates for you, such as today’s date and the date a document was created. However, if you want the form’s user to fill in a date, you can prompt the user to select the date from an interactive calendar, such as the one shown in Figure 8-5.

An interactive calendar placed in a form
Figure 8-5. An interactive calendar placed in a form

The calendar used in Figure 8-5 is an ActiveX control included with Office. With some simple steps in the Visual Basic Editor, along with a few lines of code, you can easily add this calendar to any form. With your form template open, select ToolsMacroVisual Basic Editor.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint