Extract info from Excel spreedsheet into Word document template

MD2015

New Member
Joined
Jun 25, 2015
Messages
1
Hi,

I would like to extract all info from excel tables into a word document verbiage by creating a macro/vba but my data is not set up consistently. There is not a consistent range as it varies daily and there are three different entity category(ABC, DEF, etc)

I then copy each of the information from the cells one by one and place the info in the word template. Can someone help me simplify this process and how i could automate this by copying the info into the appropriate template (depending what the account number starts with). below is an example of the excel spreadsheet set up.

Much appreciated!!

ABC

<tbody>
</tbody>


<tbody>
</tbody>


<tbody>
</tbody>


<tbody>
</tbody>

Account Number

<tbody>
</tbody>
ML
Symbol
Company Name

5XXXXXXX

<tbody>
</tbody>
1
2
3
DEF
Account Number
ML
Symbol
Company Name
2XXXXXX
1
2
3

<tbody>
</tbody>
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.

Forum statistics

Threads
1,216,113
Messages
6,128,903
Members
449,477
Latest member
panjongshing

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