Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Table in word, Colum width?
Message
De
24/10/2000 10:37:06
 
 
À
23/10/2000 16:51:15
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00432936
Message ID:
00433486
Vues:
16
>One more:
>how do I say in VBA
>otable.left= 72*.6
>

I assume you're trying to move the whole table over. Try:

oTable.Range().ParagraphFormat.LeftIndent = 72 * .6

>(the people who designed the word object model definately are brain damaged. What is so logical in VFP is so convoluted in VBA)

It's just different because it's dealing with different kinds of objects. The key thing about working in Word is that you almost always need to be dealing with a Range object. Once you have a range, you have to deal with the appropriate formatting piece of it. Pretty much each different dialog in Word is represented by a different object. If you're comfortable with the way Word does things, the object model usually makes sense.

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

Click here to load this message in the networking platform