Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy WITH formatting in Word2000
Message
 
À
02/08/2002 10:30:53
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00685427
Message ID:
00685459
Vues:
18
Wel, if i use this code

loword=CREATEOBJECT("word.application")
odoc=loword.documents.open("c:\test.doc")
loword.Visible=.T.
loword.Application.Activate
orange=odoc.range()
orange.copy()
onew=loword.documents.add()
orange=onew.range()
orange.paste()

it copies perfectly with all the formats.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform