Reply
 
Thread Tools Display Modes
  #1   Report Post  
Clinton M James
 
Posts: n/a
Default HELP: Needing to tackle form fields...

I wish to use form fields in several documents.. I am aware how they work,
but I do not know:

How can i put the date the document is being created on into the form field.
I know how to use a standard field for this, but I would like the form field
to default to the createdate and allow the user the chance of override if
the date needs altering on a future occasion because of an event that they
part-filled the form out, saved it, then completed it later.

Help is appreciated.

Regards,
Clint


  #2   Report Post  
Cindy M -WordMVP-
 
Posts: n/a
Default

Hi Clinton,

How can i put the date the document is being created on into the form field.
I know how to use a standard field for this, but I would like the form field
to default to the createdate and allow the user the chance of override if
the date needs altering on a future occasion because of an event that they
part-filled the form out, saved it, then completed it later.

This would require a macro, say one named AutoOpen so that it would execute
when the document is opened; or AutoNew if a document is being created from a
template (probably better, as you might later want to open an existing form).

Example:

Sub AutoNew()
ActiveDocument.FormFields( _
"NameOfField").Result = Format(Date, "dd-MMM-yyyy")

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 :-)

Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Lost form fields after merge Darryl Kerkeslager Mailmerge 4 March 11th 05 01:42 AM
Form fields in frames - can I format the text (ie bold, italic)? La La Lara Microsoft Word Help 3 January 28th 05 03:09 PM
Protected Fields in an Online Form hnyb1 Microsoft Word Help 5 January 19th 05 02:52 PM
Email a protected document that contains Text Form Fields Dowza New Users 1 January 8th 05 10:31 AM
Controlling order of accessing form fields in a WORD form Tom Tables 1 January 6th 05 06:32 PM


All times are GMT +1. The time now is 02:57 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"