General information
Category:
COM/DCOM and OLE Automation
If you are talking about using excel automation from VFP, and you want to insert a word document into Excel sheet, then try this:
ObjExcel.ActiveSheet.OLEObjects.Add(,"C:\books.doc")
The syntax is:
* .Add(ClassType, FileName, Link, DisplayAsIcon, IconFileName, IconIndex, IconLabel, Left, Top, Width, Height)
>I am using excel to bring together different stuff:
>
>
>VFP data, Tiff files and now I have to add word docs.
>
>This is a printing program to print out a complete dossier for a certain claim, claim data, diaries, notes, scans and letters.
>
>I just don't know how to add the letters.
>
>Anybody aver tried something like this?
>
>
>Peter
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only