How do I change the date format on the bar

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

Guest

I want to add the "date" button to my tool bar but I don't want to use the
current configuration, i.e. 10/24/2004, and I don't want the date to be
automatically updated. How do I change the default setting?
 
Hi =?Utf-8?B?bGF6eWxhd3llcg==?=,
I want to add the "date" button to my tool bar but I don't want to use the
current configuration, i.e. 10/24/2004, and I don't want the date to be
automatically updated. How do I change the default setting?
You could use a fairly simple macro and assign it to a toolbar button. For
example:

Sub InsertMyDate()
Selection.InsertAfter Format(Date, "dd-MMM-yyyy")
End Sub

Just change the placeholders between the "quotes" to get the date format you
prefer (the above would be 27-Oct-2004)

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