I have the following code where I am selecting a range from excel, opening a word document, then pasting it to that word document. However, the code does not copy and paste the data, and I am not sure why. Please let me know your thoughts. Thanks!!
Sub Report()
Dim wdApp As Word.Application
Set wdApp = New Word.Application
Set c = Range("C3").End(xlDown)
Set G = Range("G3").End(xlDown)
Set i = Range("I3").End(xlDown)
Set J = Range("J3").End(xlDown)
Union(c, G, i, J).Copy
wdApp.selection.Paste
End Sub
Sub Report()
Dim wdApp As Word.Application
Set wdApp = New Word.Application
Set c = Range("C3").End(xlDown)
Set G = Range("G3").End(xlDown)
Set i = Range("I3").End(xlDown)
Set J = Range("J3").End(xlDown)
Union(c, G, i, J).Copy
wdApp.selection.Paste
End Sub