Creating Macro to populate Word sample from Excel Data

Csucsu

New Member
Joined
Dec 8, 2016
Messages
8
Hello,

I have the below word sample and excel sample, and I would need a VBA to autopopulate the word doc with the excel data (indicated below which cell needs to be pasted where).
I would really appreciate any suggestion how to do this.
Thanks!

Cs

Word sample:

Name and first name: F7

Nationality: F10

Functions: F13

Entry on Duty: F11

Date of birth: F8

Document Number: F4


F7 is a holder of a F12 expiring on F14.

Excel Sample: the top left cell is E4 and the bottom right is F15.


MSRP ID:10030240
LAST Name:XXX
FIRST Name:YYY
FULL Name:YYY XXX
Birthdate:04/11/1977
Birthplace:Debrecen, Hungary
Citizenship:Hungary
LasthireDate:15/11/2012
Contract Type:Fixed Term Appointment
Jobe Code:Assistant
Contract End date:14/11/2018
FTE:1

<colgroup><col><col></colgroup><tbody>
</tbody>
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
I am still waiting for a suggestion for the above, if anybody has an idea do not hesitate to share it with me.
Thanks!

cs
 
Upvote 0

Forum statistics

Threads
1,215,494
Messages
6,125,137
Members
449,207
Latest member
VictorSiwiide

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top