General information
Category:
COM/DCOM and 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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only