VBA to write message in word from Excel

corbinw22

New Member
Joined
Mar 2, 2018
Messages
1
I've tried to search the forums but couldn't find how to do this. I am trying to write a message in word that will insert basic information from excel. For example, in Column A I have a list of client names and in column B I have a list of how much they owe me. I would love to write a generic message that inserts their name and how much they owe.

For example,

"Hello, [Insert Client Name from A1],

We notice your account is past due and you still owe [Amount from B1], please send payment to.."


How can I got about doing this so then the output text ends up in a word document? This would save me tons of time as other wise I have to copy and paste this information over and over again.

Thanks,
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
I've tried to search the forums but couldn't find how to do this. I am trying to write a message in word that will insert basic information from excel. For example, in Column A I have a list of client names and in column B I have a list of how much they owe me. I would love to write a generic message that inserts their name and how much they owe.

For example,

"Hello, [Insert Client Name from A1],

We notice your account is past due and you still owe [Amount from B1], please send payment to.."


How can I got about doing this so then the output text ends up in a word document? This would save me tons of time as other wise I have to copy and paste this information over and over again.

Thanks,

Is there a reason you can't use Mail Merge?

It sounds like it'd be perfectly suited for solving this problem...
 
Last edited:
Upvote 0
Yes, mail merge is the answer. Create an Excel spreadsheet with the columns that you will use (ClientName, Amount, etc.). Put the column names in row 1. Don't put spaces in the column names, and keep the column names reasonably short.

Then open Word, create a new document, and click on Mailings. Then click on Start Mail Merge, and then click on Step-by-Step Mail Merge Wizard. It should be pretty self-explanatory.
 
Upvote 0

Forum statistics

Threads
1,224,828
Messages
6,181,215
Members
453,024
Latest member
Wingit77

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