Send email on workbook refresh

rikapple

New Member
Joined
Feb 17, 2014
Messages
45
Hi

I think this is a big ask, but here goes!

I have an excel sheet which is refreshing and pulling data from a googlesheet. What I am wanting to do is when a refresh occurs any new line will trigger an email.

The data coming in will include an email address (Column J) I would also like to include some other information in the body of the email. So my hope is it would look something like this:


Email to (Value of Cell A1)

Dear Sir

Your delegate (VALUE on B1) has requested a break on (Value of O1) and hope that (value of K1) is acceptable.

Kind Regards

Rachel

I have set the workbook to refresh every 30 minutes so if another line of code is updated then I would like it to just send the above email to the new line not everyone on the list.

Please let me know if this is even possible if so how? I am not very advanced in VBA which I am sure where this is going to go so please keep any explanations simple.:rofl:

Many thanks in advance

Rachel
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.

Forum statistics

Threads
1,224,814
Messages
6,181,120
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