Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating a table in WinWord
Message
De
08/03/2002 06:24:57
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00629239
Message ID:
00630062
Vues:
18
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)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform