Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting columns in Word
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00623964
Message ID:
00624081
Vues:
12
>Hi James,
>
>SetCount is a method not a property. Try
oword.activedocument.pagesetup.textcolumns.setcount(2)
There should be help file VBAWRD9.CHM (Word 2000) somewhere in the Office folder on your computer. It includes a Word object model.
>
>


Hello Sergy,

Thanks for the advice, here's the solution and it works just fine, I appreciate your help.

Jim



with oword.selection.pagesetup
#define autoinchestopoints 72
.bottommargin = 1.00 * autoinchestopoints
.topmargin = 1.00 * autoinchestopoints
.leftmargin = .50 * autoinchestopoints
.rightmargin = .50 * autoinchestopoints
with .textcolumns
.setcount(2)
.evenlyspaced = .t.
.linebetween = .f.
endwith
endwith
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform