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.:ROFLMAO:

Many thanks in advance

Rachel
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.

Forum statistics

Threads
1,214,925
Messages
6,122,303
Members
449,078
Latest member
nonnakkong

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