Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bulleted list in a Table in Word
Message
From
04/01/2012 16:24:20
 
 
To
04/01/2012 16:03:42
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 7
Miscellaneous
Thread ID:
01532163
Message ID:
01532184
Views:
34
Yes, it does. I've been trying to figure out how to use the .Move() method, but it's not making much sense to me. I agree with Tamar that somehow I've got to get to the end of the text and then set up the bulleted list, but how to get there yet still remain inside the cell?


>Tamar,
>
>If you collapse the range, doesn't that put the cursor too far and out of the range completely?
>
>
>>>Word 2007
>>>
>>>Hi all
>>>
>>>This is the last thing I need to get working. I'm trying to create a bulleted list in a Table in Word so when a line of text wraps, it gives the indent that's needed. I went into Word, started recording a macro, set up a table, then set up the list within. The macro code works beautifully every time I run it in Word.
>>>
>>>Once I translate it into VFP, however, it seems to be applying the style to the entire table, not the subset of the cell that I want, and this happens when the line oRow.ListFormat.ApplyListTemplateWithLevel(oApp.ListGalleries(wdNumberGallery).ListTemplates(1),.F., wdListApplyToThisPointForward, 2) is executed. Word Macro code is available upon request.
>>>
>>>What am I not getting?
>>
>>Without looking at the details of the code, I'm a big believer in collapsing the range after each operation:
>>
>>
>>oRange.Collapse(0)
>>
>>
>>collapses to the end of the range. Sometimes, you also need a paragraph marker or two to keep formatting to only the part you want formatted.
>>
>>Tamar
"You don't manage people. You manage things - people you lead" Adm. Grace Hopper
Pflugerville, between a Rock and a Weird Place
Previous
Reply
Map
View

Click here to load this message in the networking platform