VBA copy excel into template Word document

helpcharity

New Member
Joined
Apr 25, 2019
Messages
8
Office Version
  1. 2019
Platform
  1. Windows
Hi,

I work for a charity near Liverpool (UK) and need some help please.

When we send our template introduction letter to our beneficiaries we have to include a selection of 5-10 (out of around 50) standard paragraphs of text to insert into a letter. Currently we use Word 2016, and set up a document with 50 "building blocks", but we're finding that a very inefficient process.

None of us are VBA literate, but so far we've worked out how to create a macro which;
a) opens a "new" word document, and
b) copies the content of a single cell into the blank document

But ideally, we would like some help to create a macro which;

a) copies the contents of the selected cells in the excel worksheet
b) opens our template letter (in Word 2016)
c) pastes the contents of the cells into the letter at specific sections (e.g. at bookmark points)... Ideally we would also like to copy the formatting and colour of the text in the cells... instead of it just being copied as black text.
d) renames and saves the amended template letter (i.e. before the template letter is overwritten).

Hope all this makes sense.... and hope someone can help.
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney

Forum statistics

Threads
1,224,820
Messages
6,181,157
Members
453,021
Latest member
Justyna P

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