View Single Post
  #26   Report Post  
Posted to microsoft.public.word.newusers
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Insert Date does not have the usual date format

1. This is covered in the link I posted explaining how to create the macro
for Word 2007 and earlier versions
http://www.gmayor.com/installing_macro.htm
2. The macro does not put the date in the list of formats. It simply inserts
the date at the cursor position in the format February 9, 2009

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



Tom B wrote:
I was able to create the macro.

I was also able to put the macro in the Formatting bar at the top of
the screen.

(1) However instead of a symbol or name it is spelled out
"Normal.NewMacros.InsertUSFormatDate" I need a symbol or maybe the
word "Date"

(2) I was also unable to list the date format (Month Day, Year) in
the list of other date formats listed at Insert-Date and Time

Thanks.

"Graham Mayor" wrote:

I suspect that the dropdown displays date layouts according to the
current language, however a macro attached to a toolbar button will
remove the ambiguity

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
Word MVP web site http://word.mvps.org



Tom B wrote:
I use the date format "February 2, 2009" with all my other word
processors. With MS Word I tried using Insert, Date and time, and
find a number of date formats listed, but this one is not there.

I would also like to create an icon in one of the toolbars at the
top of the screen to automatically enter the date in this format (I
have other word processors that do this easily - even old word
processors).

Version: MS Word 2002 running with Windows XP Pro.

Thanks