Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Table in word, Colum width?
Message
From
24/10/2000 10:37:06
 
 
To
23/10/2000 16:51:15
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00432936
Message ID:
00433486
Views:
15
>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
Map
View

Click here to load this message in the networking platform