Word doc/protected form and formatting dates

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm trying to create a Word template that will be used for several people
within our network. The template will be saved as a protected form, since it
will be an official gov't document. There's one field that needs to be in a
date format, but not the current date. I was thinking of using the Calendar
Control in the VBA toolbox, but there's a good chance that not everyone
who'll be using the form will have all the same plug-ins as I do, including
the Calendar control. From past experience, I have seen the Calendar control
not stay active, and I'd rather avoid numerous calls to the helpdesk to
resolve this everytime the document is used.

Is there a way to format a field as a date with a switch, and not have the
switch get edited when the date is entered?

ACQ
 
Hi ACQ,

Very wise decision, to not try to use the calendar control under these
circumstances.

If you set the field's type as a DATE field (not current date, just date), then
select a format from the list at the right, that should enforce
1. that the user types a date
2. that the date will then have the specified format

The user shouldn't be able to change the date format without unprotecting the
document. So I'm not sure exactly what you're asking?
I'm trying to create a Word template that will be used for several people
within our network. The template will be saved as a protected form, since it
will be an official gov't document. There's one field that needs to be in a
date format, but not the current date. I was thinking of using the Calendar
Control in the VBA toolbox, but there's a good chance that not everyone
who'll be using the form will have all the same plug-ins as I do, including
the Calendar control. From past experience, I have seen the Calendar control
not stay active, and I'd rather avoid numerous calls to the helpdesk to
resolve this everytime the document is used.

Is there a way to format a field as a date with a switch, and not have the
switch get edited when the date is entered?

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 :-)
 
Thanks! This is what I was looking for!

ACQ

Cindy M -WordMVP- said:
Hi ACQ,

Very wise decision, to not try to use the calendar control under these
circumstances.

If you set the field's type as a DATE field (not current date, just date), then
select a format from the list at the right, that should enforce
1. that the user types a date
2. that the date will then have the specified format

The user shouldn't be able to change the date format without unprotecting the
document. So I'm not sure exactly what you're asking?


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


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

Back
Top