Filling MS Word template from Excel

Jape

New Member
Joined
Sep 30, 2004
Messages
47
Hi all,

Ive been researching for the different possibilities to fill an word template with excel data. The data ranges from text/paragraphs to charts and pictures. I have an extensive excel VBA app that produces quite some data that i need to paste in an neat formatted word template. The aim is to do this from excel VBA, wich will fill the template with Paragraphs, Small lists, pictures(embedded or from simple file/pathname in excel cell) and excel charts (all this info will reside in an excel workbook).

Correct me if im wrong but after some research i came up with the following solutions:

- Mailmerge option in word (Not sufficient since i also need to fill non-text data like charts and pictures)

- XML (relativly new and powerfull technique, but i have no experience with it and dont know if this can pull charts and pictures to excel)

- VBA from excel that will open application word and use bookmarks in templates that will act as placeholder for the content from excel and VBA (seems to me like the most efficient way since i have a fair ammount of VBA experience, but unsure how this will work with pictures and especially excel charts)

I have searched the board here, but found very little to none information on this topic (or im using the wrong keywords ;) ).

Does anyone have any insights into efficiently handling this kinda connection and/or some links to this subject that wil help me on my way ?

Kind regards,

Jape,
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type

Forum statistics

Threads
1,140,944
Messages
5,703,305
Members
421,290
Latest member
james90

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
Top