Information générale
Catégorie:
COM/DCOM et OLE Automation
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement