Trevor Eyre's date picker code is available from his web site. It is intended for Excel, but with a few minor detail modifications it works well in Word also. The code is far too long to post here and I don't have Trevor's authority to do so.
The macro above will call Trevor's userform and enable the one click process requested. However I suspect that 'chubbychub' may be using the modified version of the original available from Greg Maxey's web site (modified with Trevor's permission) and therefore the code above that I provided to 'chubbychub' privately may not work with that version.
If he wishes he can contact me again via my web site and I will provide him with the details of the modifications required to make the original work with Word, or he could ask Greg for the changes required to make his modified version work as requested.
P.S.I have posted the changes to the OP via e-mail.
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Last edited by gmayor; 04-04-2019 at 12:50 AM.
|