Is there a pop-up calendar for form fields

G

Guest

If possible I would like to be able to offer users a pop-up calendar for
inserting dates into the appropriate field on a protected Form. At present I
use a drop-down for the month and year and leave the day as text field, it
works after a fashion but is clumsy to say the least. Also how dow I get the
date, once selected/entered put into several other parts of the same form?
 
C

Cindy M -WordMVP-

Hi =?Utf-8?B?dmVlY2Vl?=,
If possible I would like to be able to offer users a pop-up calendar for
inserting dates into the appropriate field on a protected Form. At present I
use a drop-down for the month and year and leave the day as text field, it
works after a fashion but is clumsy to say the least. Also how dow I get the
date, once selected/entered put into several other parts of the same form?
There isn't any control like this for use in a protected section of a Word form.
A calendar control comes with Access, and can be used in an unprotected section.
But if not all machines have Access and the control installed, distribution and
licensing can be a problem.

There are some solutions for VBA UserForms that show a calendar - without
needing any special controls. you could use a macro that fires when the user
enters a form field to display the UserForm, and the code behind the form would
put the selected date into the form field. One such solution is in the "Office
VBA Macros you can Use Today" book that's just come out. You could ask in
VB/VBA/programming groups if there's anything publicly available on the
Internet.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top