VBA email help

englandmark

Board Regular
Joined
Apr 9, 2015
Messages
62
Hi all, thanks for the help in advance
Code needed for the following
Automatically daily at 6 a.m
Email Columns A(Date), D(Customer Name), F(Address), G(Phone number) & K(Call information) all rows with yesterdays date
Add another column at the end(Salesman) and leave cell blank
Data to be a table with grid lines
Sheet name call log, date is in column A.

Example:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Date[/TD]
[TD]Customers Name[/TD]
[TD]Address[/TD]
[TD]Phone number[/TD]
[TD]Call information[/TD]
[TD]salesman[/TD]
[/TR]
[TR]
[TD]6/24/19[/TD]
[TD]Jim Buy[/TD]
[TD]Shop Road[/TD]
[TD]912-812-2345[/TD]
[TD]Need to get an estimate[/TD]
[TD]Roger Getem[/TD]
[/TR]
[TR]
[TD]6/24/19[/TD]
[TD]Sue Sell[/TD]
[TD]Store Street[/TD]
[TD]912-812-1234[/TD]
[TD]need to book service[/TD]
[TD]Tim Sold[/TD]
[/TR]
</tbody>[/TABLE]


Again thanks for the help
Mark
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.

Forum statistics

Threads
1,224,823
Messages
6,181,179
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