Hi
I've got a standard letter in Word which I use on a regular basis to let someone know their contract has been extended.
My main data is in Excel and what I'd like to do is to run a macro which takes the line in the worksheet that is active and enters the relevant data into the Word doc. It would be A135 (first name) B135 (second name) L135(end date) M135 (rate of pay) for example.
I've started with just copy/paste a particular cell to see what the reference looks like - in this case the first name - to see how the link works but it references the actual cell but this will differ each time.
I already have a macro sitting in the ribbon to open this letter:
Sub extension_letter()
Set appWD = CreateObject("Word.Application")
appWD.Visible = True
appWD.Documents.Open Filename:="J:\Master Documents\contract extensions.doc"
End Sub
Can anyone point me in the right direction?
I've got a standard letter in Word which I use on a regular basis to let someone know their contract has been extended.
My main data is in Excel and what I'd like to do is to run a macro which takes the line in the worksheet that is active and enters the relevant data into the Word doc. It would be A135 (first name) B135 (second name) L135(end date) M135 (rate of pay) for example.
I've started with just copy/paste a particular cell to see what the reference looks like - in this case the first name - to see how the link works but it references the actual cell but this will differ each time.
I already have a macro sitting in the ribbon to open this letter:
Sub extension_letter()
Set appWD = CreateObject("Word.Application")
appWD.Visible = True
appWD.Documents.Open Filename:="J:\Master Documents\contract extensions.doc"
End Sub
Can anyone point me in the right direction?