Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting tabs properties
Message
 
To
02/08/2001 08:27:32
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00538318
Message ID:
00558936
Views:
13
>>With oword.Selection.PARAGRAPHS
>>.LEADER (tried different values here, no luck yet)
>>ENDWITH
>
>No, you have to add TabStop objects and set their Leader property. Take a look at the TabStop object and the TabStops collection in the Word VBA Help.
>
>Tamar

Tamar,

Thanks to your advice and, with the help from a friend this is what I came up with and, it works.

#define wdtableaderdots 1
#define wdaligntabright 1
lnpoints = oword.application.inchestopoints( 2.67 )
oword.selection.wholestory
oword.selection.paragraphformat.tabstops.add(lnpoints, wdaligntabright, wdtableaderdots)

Jim
Previous
Reply
Map
View

Click here to load this message in the networking platform