in reply to Win32 OLE Word combining docs
ActiveDocument.Paragraphs(1).Range.Copy Set myRange = ActiveDocument.Range _ (Start:=ActiveDocument.Content.End - 1, _ End:=ActiveDocument.Content.End - 1) myRange.Paste
I think the same should work to copy from one document to another in VBA, just change make the copy-range be from $inputdoc and the paste-range be in $outputdoc (and perl-ify the VBA, of course)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Win32 OLE Word combining docs
by cormanaz (Deacon) on Aug 24, 2016 at 00:00 UTC |