Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copying text from word to VFP
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Copying text from word to VFP
Divers
Thread ID:
00709059
Message ID:
00709059
Vues:
88
I have a Word document that contains a table. I need to copy data from this table to Word. Creating a Word instance and moving through the table is no problem. The problem starts when copying data from Word to VFP.
I use oWord.selection.copy to copy data to the clipboard. This works because I can use the _cliptext variable in VFP to see what the content is.

The problem now is that I need to read the ´exact´ content of the clipboard. I need to do this because I need the rich text content of the cell. This means that using _cliptext is out of the question. How can I read the content of the clipboard (as rtf) so I can store the value in a vfp-variable.

Thanks in advance,

Ron Brahma
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform