P
Paul McC
Hi all,
It's a little late in the day for me so please forgive as i need my bed.!!
The issue is i need to open a word doc (say "c:\temp.doc) and paste into it,
but i only can work out how to open a NEW doc
' Creates a new document and pastes Clipboard contents.
' Saves the document in the Word directory and closes the
' document.
Set NewObject = CreateObject("Word.Basic")
NewObject.filenew
NewObject.editpaste
NewObject.filesaveas DocPath & "\" & NewDoc
NewObject.FileClose
It's a little late in the day for me so please forgive as i need my bed.!!
The issue is i need to open a word doc (say "c:\temp.doc) and paste into it,
but i only can work out how to open a NEW doc
' Creates a new document and pastes Clipboard contents.
' Saves the document in the Word directory and closes the
' document.
Set NewObject = CreateObject("Word.Basic")
NewObject.filenew
NewObject.editpaste
NewObject.filesaveas DocPath & "\" & NewDoc
NewObject.FileClose