on entry form text field macro - year field 
Author Message
 on entry form text field macro - year field

I need to insert a date in a form text field using an on-entry macro.  The
date should be one year from the previously inserted current date field.

Need to have a macro to automatically insert "current date" but add "1" year
(for expiration).

For example:  form text field (1) inserts the current date, i.e. 12/28/01.
What VB language is used to make an on entry macro to insert the current
M/d/ and add "1" year expiration to next field so the field expiration date
shows 12/28/02?

If you can help, much thanks.

Joy Pollock



Wed, 16 Jun 2004 11:31:28 GMT  
 on entry form text field macro - year field
I'm curious as to why you are using a form text field for this. If it is to
be automatic rather than something for the user to fill in, you can use an =

<URL: http://www.addbalance.com/word/datefields2.htm> for more on calcualted
date fields.
--
Charles Kenyon

Word New User FAQ & Web Directory:
<URL: http://www.addbalance.com/word/index.htm>

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide)
<URL: http://www.addbalance.com/usersguide/index.htm>

See also the MVP FAQ: <URL: http://www.mvps.org/word/> which is awesome!
 --------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.


Quote:

> I need to insert a date in a form text field using an on-entry macro.  The
> date should be one year from the previously inserted current date field.

> Need to have a macro to automatically insert "current date" but add "1"
year
> (for expiration).

> For example:  form text field (1) inserts the current date, i.e. 12/28/01.
> What VB language is used to make an on entry macro to insert the current
> M/d/ and add "1" year expiration to next field so the field expiration
date
> shows 12/28/02?

> If you can help, much thanks.

> Joy Pollock



Wed, 16 Jun 2004 14:22:58 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. controlling data entry in text form fields

2. set text form field properties within a macro

3. Text form fields - on exit macro problem

4. Problem when unprotecting a document with form field text fields

5. Print text only when chosen field has entry?

6. change sequence field from form entry

7. force entry into form field

8. Form Fields Entry Sequence

9. Field entry Save lost with form terminate

10. Field entry Save lost with form terminate

11. Text Form Field Help Text - Does it work?

12. Selecting Text in a text form field.

 

 
Powered by phpBB® Forum Software