Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy WITH formatting in Word2000
Message
 
To
02/08/2002 10:30:53
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00685427
Message ID:
00685459
Views:
19
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform