General information
Title:
Copy content from A.Doc to B.Doc
Environment versions
Network:
Windows 2003 Server
Hi everyone,
My program as below, but got error.
WORD_FILE = CREATEOBJECT("Word.application")
WITH WORD_FILE
.DOCUMENTS.OPEN( ( "C:\A.DOC" )
MMCONTENT = .DOCUMENTS.CONTENT <<<<---- ERROR
.DOCUMENTS.CLOSE()
.DOCUMENTS.OPEN( ( "C:\B.DOC" )
.DOCUMENTS.CONTENT = MMCONTENT
.DOCUMENTS.SAVE()
ENDWITH
Why i got error in .DOCUMENTS.CONTENT ???
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