Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP & MSWORD
Message
De
13/01/1999 15:18:27
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00175624
Message ID:
00175653
Vues:
27
This is what was in the macro. What would this code be if it were VFP and not VB? I tried this and it doesn't work.
Selection.HomeKey Unit:=wdLine, Extend:=wdExtend
Selection.ParagraphFormat.Alignment = wdAlignParagraphCenter

Jim
>>Is there anyone out there that knows how to Center text in word through OLE automation?
>>
>>very stuck, Please help
>
>Jim,
>
>Go into word and type sme text. Then turn on teh macro recorder, select the text and center it, shut off the recorder and then edit the macro it created. The asnwer will be there.
Thanks

Jim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform