Greetings,
I am a novice at VBA and hoping to get some help.
I have created the following subroutine ...
The above code creates a Word document, copies the named range then continues to copy a second Word document and pastes the named range, concluding with creation of third Word document and pasting the last named range.
What I am trying to do is to create one Word document and then copy and pasting all three named ranges into that single document.
Appreciate any help ...
Best regards,
Steve
I am a novice at VBA and hoping to get some help.
I have created the following subroutine ...
Code:
Sub Excel_to_Word()
Dim appWord As Word.Application
Set appWord = New Word.Application
appWord.Visible = True
With appWord
Range("resfundwithdraw1").Copy
appWord.Documents.Add.Content.Paste
Range("resfundwithdraw2").Copy
appWord.Documents.Add.Content.Paste
Range("resfundwithdraw3").Copy
appWord.Documents.Add.Content.Paste
End With
End Sub
What I am trying to do is to create one Word document and then copy and pasting all three named ranges into that single document.
Appreciate any help ...
Best regards,
Steve