The code is annotated to demonstrate how it works. The code runs on exit from the content control, so you have to click outside it, having selected a date. If there is no date or you don't click outside the control nothing happens.
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
|