Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Once more into the Word breach, my friends
Message
 
 
To
17/12/2011 17:57:15
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 7
Miscellaneous
Thread ID:
01531193
Message ID:
01531281
Views:
44
>>>>And while I'm asking questions, is there a Table.Close command?
>>>
>>>What would it mean? If what you're trying to do is get past the table, so you can put something below it, you should be able to do that with oRange.Collapse()--can't remember offhand whether you need 0 or 1 to go to the end of the range.
>>>
>>>Tamar
>>
>>Yes, I'm thinking that if I can 'close' the table, print the directions and then create a new table (exactly like the first) that would also get me past this happy problem.
>
>So you'll want to grab the table as a range, collapse to the end, use InsertParagraphAfter a couple of times, collapse the range again, and then add your new table.
>

That's it! ;-)

The application I am supporting these days uses a lot of Word automation. Maybe it just wasn't coded well -- a comment here and there would be nice, like when you call .Printout with seven parameter commas omitted -- but it is a labyrinth to me and my coworkers. When Yana assigns me an issue in one of those programs I always assume she's irritated at me ;-)
Previous
Reply
Map
View

Click here to load this message in the networking platform