Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word Automation
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Divers
Thread ID:
00606798
Message ID:
00606807
Vues:
16
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform