General information
Category:
COM/DCOM and OLE Automation
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
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