Is it posbl to hv option in a field?

C

CAPTGNVR

Dear All

In word form, at the bottom I will have a date field. But sometimes I might
take out a print out one week before the required date or would like to put a
projected date.

Hence, how to make this field accesbl?
br/captgnvr
 
C

CAPTGNVR

D/Brian

Thanks for the link and I read same.

I was looking for a easier way to have that particular date field
unprotected, so that if anyone want to use a different date they can over
type.

brgds/captgnvr
 
G

Graham Mayor

If we assume that the date field is bookmarked Text1 then set the type of
field as date with no default entry.
Run the following macro on entry to that field and it will insert today's
date but leave it editable should you wish to change it later.

Sub AddDate()
Dim myDate As Date
myDate = format(Date, "dd/MM/yy")
ActiveDocument.FormFields("Text1").Result = myDate
End Sub


--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

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