>I'm doing some automation of word 2000 from foxpro. Two simple things I can't figure out
>
>How to insert a date with a particular format. This is what I get from the macro editor.
>
>Selection.InsertDateTime DateTimeFormat:="MMMM d, yyyy", InsertAsField:= _
>True, DateLanguage:=wdEnglishUS, CalendarType:=wdCalendarWestern, _ InsertAsFullWidth:=False
>
>InsertDateTime works great, I just can't get the format.
>
>Secondly, how to I move the cursor to the top of the document? I'm having problems with goto.
>
>Thanks!
Have you tried to use VFP7 and intellisense on the word object to give you a clue as to what the parameter might be that Word wants?
Bret Hobbs
"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope