Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating a table in WinWord
Message
From
08/03/2002 06:24:57
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00629239
Message ID:
00630062
Views:
20
This message has been marked as a message which has helped to the initial question of the thread.
>Hilmar Zonneveld wrote:
>
>> The problem here is that VFP doesn't support
>> named parameters - only parameters by position.
>> The Word-help reveals that there is an alternate syntax:
>
>
>> expresión.Add(Range, NumRows, NumColumns)
>> I assume you have to change this to something similar to:
>
>> oDocument.Tables.Add(Range, NumRows, NumColums)
>> HTH, Hilmar.
>
>What I eventually came up with was this:
> WDApp.Selection.ActiveDocument.Tables.Add(WDApp.Selection.Range,3,4)

What does Range refer to?
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform