Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Print Word.doc in Excel.xls
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00920206
Message ID:
00920226
Vues:
18
This message has been marked as the solution to the initial question of the thread.
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform