using Autotext

D

dutrem

How can i put the date on my paper using autotext by typing in the day of
week
like tues then the correct date comes up i cant figure it out please help
 
G

Graham Mayor

The short answer is that you can't. Word has limited autocompletion of
dates, but it doesn't do exactly what you ask and although you could
probably cobble together a set of autotext entries pertinent to each weekday
that would replace with a createdate field. It would be much simpler and
more practical to either use the insert date feature (ALT+SHIFT+D) or insert
the date in whatever format you like using a macro assigned to a keyboard
shortcut e.g.

Sub InsertUSFormatDate()
With Selection
.InsertDateTime DateTimeFormat:="MMMM" & Chr(160) & _
"d," & Chr(160) & "yyyy", InsertAsField:=False
End With
End Sub

http://www.gmayor.com/installing_macro.htm

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

My web site www.gmayor.com

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

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