Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WORD doc in VFP form??
Message
 
 
À
29/02/2008 08:50:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01297370
Message ID:
01298010
Vues:
37
Try
WITH thisform.oWebControl.Object.Document.Application.ActiveDocument
...
>Great! I now have the document in a VFp window
>I see that .oWB.object.Locationname contains the doc name
>but can I address cells in a table in that document similar to
>
>
>WITH thisform.oDoc
>	lnNumTables= .TABLES.COUNT
>
>	WITH .TABLES.ITEM(1)
>		.Cell(1, 2).RANGE.TEXT = IIF(curTASKS.IsFinal,"FINAL","DRAFT")
>		.Cell(2, 2).RANGE.TEXT = .Cell(2, 2).RANGE.TEXT+cLongDate
>		.Cell(3, 1).RANGE.TEXT = curTASKS.comments
>...
>
>
>
>Also how does one release word after wards. Navigating to About:Blank does not end word.
>releaseing the form als leaves word running in the background
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform