The use of the two content controls was done to ensure valid data entry. Although one can use the calendar control to pick a date, it's also possible to type one into it (in any valid date format) and let the control re-format it with the YYYYMMDD format as soon as it's exited. Although I haven't implemented it, the ContentControlOnExit macro could also be used to ensure the date entered into this control falls within a valid range (e.g. a date between 1.1.2000 and today).
Similarly, although the second one allows the user to input a number in any format, it will re-format the number to the #### ### format when that content control is exited.
The second control's reformatting, and the space between the two content controls delivers the spacing you say you need. All it takes to exit either content control is to press the Tab key or to click anywhere else in the document.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|