Excel VBA email with cells

andy_magana

New Member
Joined
May 9, 2020
Messages
2
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
I have a spread sheet with three columns, column A, column B, column C. Column C has expired dates. What I need is to get an email created with Excel VBA to include in the message the information from the cells from columns A and B. If the Excel VBA module can also take the expired date from Column C and send an email with a future date 11 months ahead of Column C.

I want my emails to say:

Subject: Atlassian "Cell B"
Body/Message: "Cell A" "Cell B" License will be due for renewal.

Thanks.
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
You could use mailmerge from Word. No code required. For the future date, you could either add that to column D via a formula, or use field coding in Word. For the field coding approach, check out my Microsoft Word Date Calculation Tutorial, at:
Microsoft Word Date Calculation Tutorial
or:
In particular, look at the items titled Calculate a month and year, using n months delay and Calculate a day, date, month and year, using n months delay. Do read the document's introductory material.
 
Upvote 0
Is efficient to just do this from Excel VBA ? I thank you very much for your time. Happy Mothers Day!
 
Upvote 0
It can be efficient, but takes a lot more work and is way harder (if not impossible) for anyone who isn't conversant with VBA to maintain.
 
Upvote 0

Forum statistics

Threads
1,223,908
Messages
6,175,306
Members
452,633
Latest member
DougMo

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