Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting Word margins through OLE
Message
De
01/03/1999 16:03:02
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00192747
Message ID:
00192855
Vues:
18
A useful technique for finding out this sort of information is to record a macro in Word that sets the margins. Then look at the code in that macro for the relevant command.

Also, look for a file called vbawrd8.hlp in your Windows\Help directory. If it's not there, rerun the Office installation, select Custom install (I think or reinstall missed components, maybe) and install the VBA for Word help. This help file has all the commands.

Translating the commands into VFP syntax can be something of a trick, but not too bad. Two (at least) members here have Word automation related information posted on their web sites. David Frankenbach and John Harvey. Oh, I think John Petersen does also.

>Can anyone tell me how to set the margins
>in a Word 97 document using OLE automation?
>
>Many thanks.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform