Macro to copy cell data to word document based on an active row?

B

Brian

I have an Excel sheet that has several rows of data.

Is it possible for the user to highlight a cell in column A and then copy
data from that row (specific cells) to a word document that has been
previously created and contains bookmarks?

Excel
A B C D
1 J Smith 65 01/01/04 Mazada 6
2 S Jones 36 03/02/04 Mini
3 G Hall 25 06/06/04 Civic

So the user will highlight one of the rows and then the macro will copy only
the cells A, C, D and place them into the word document

Word
Dear, (name)

Thank you for purchasing (car) on (date)


any help would be greatly appreciated

Brian
 
B

Brian

Thanks Dave for the links.

I was able to use some code from previous posts on this site, which appears
to work using Bookmarks. I will also look at the mailmerge option with your
tip of using a filter.

Brian
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top