Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word Automation
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00606798
Message ID:
00606807
Views:
17
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform