Excel Reminders

Copan1795

New Member
Joined
Mar 20, 2015
Messages
43
The excel sheet I have has a I2 set to go red when it is past the BBD. I would like it to send a email when it goes red.
ABCDEFGHIJKLMNO
2IG#Dateno of counttotal count per RecSupplier name Supplier item numberSupplier 's BBD Use by date Supplier 's lot numbersKosher Y/NCountry of Origin from container or COAEmail
32/5/2018
4
5

<tbody>
</tbody>
 
Last edited by a moderator:

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Hi,

You can use conditional formatting. In any cell of your spreadsheet include today's function "=Today()"

Then apply conditional formatting, if BDD is less than or equal to cell have " =Today() " then fill cell color RED. As today date passes to BDD date cell color will change to red.

Hope it will help.

Cheers!!!
 
Upvote 0
Hi,

You can use conditional formatting. In any cell of your spreadsheet include today's function "=Today()"

Then apply conditional formatting, if BDD is less than or equal to cell have " =Today() " then fill cell color RED. As today date passes to BDD date cell color will change to red.

Hope it will help.

Cheers!!!


I already have the Conditional formatting done. I want a email reminder sent out based on the cell going red or being based on the being pasted the BBD.
 
Upvote 0
Hello Copan,
You can find lots of useful information on the Ron De Bruin site: https://www.rondebruin.nl/win/s1/outlook/mail.htm
I think you could probably adapt this code to make it work for you

Code:
[COLOR=#3366CC]Sub Test1()[/COLOR][COLOR=black]'For Tips see: http://www.rondebruin.nl/win/winmail/Outlook/tips.htm
'Working in Office 2000-2016[/COLOR]
    Dim OutApp As Object
    Dim OutMail As Object
    Dim cell As Range

    Application.ScreenUpdating = False
    Set OutApp = CreateObject("Outlook.Application")

    On Error GoTo cleanup
    For Each cell In Columns("B").Cells.SpecialCells(xlCellTypeConstants)
        If cell.Value Like "?*@?*.?*" And _
           LCase(Cells(cell.Row, "C").Value) = "yes" Then

            Set OutMail = OutApp.CreateItem(0)
            On Error Resume Next
            With OutMail
                .To = cell.Value
                .Subject = "Reminder"
                .Body = "Dear " & Cells(cell.Row, "A").Value _
                      & vbNewLine & vbNewLine & _
                        "Please contact us to discuss bringing " & _
                        "your account up to date"
                [COLOR=black]'You can add files also like this
                '.Attachments.Add ("C:\test.txt")[/COLOR]
                .Send [COLOR=black] 'Or use Display[/COLOR]
            End With
            On Error GoTo 0
            Set OutMail = Nothing
        End If
    Next cell

cleanup:
    Set OutApp = Nothing
    Application.ScreenUpdating = True [COLOR=#3366CC]End Sub[/COLOR]
 
Upvote 0
@Copan1795

I removed your email address from your post, as Spam Bots routinely troll Public User Forums like these looking for email addresses to Spam.
 
Upvote 0
I am still very new to VBA. I am I correct that Column A would be where the email address is and column B would be the date and Column C would signal Yes the date in column B is is passed due.
 
Upvote 0

Forum statistics

Threads
1,215,268
Messages
6,123,966
Members
449,137
Latest member
yeti1016

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