Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WORD doc in VFP form??
Message
 
 
To
29/02/2008 08:50:57
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01297370
Message ID:
01298010
Views:
36
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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform