How would I code a IF statement if I was trying to say
IF the date today is equal to Monday THEN
Have Outlook prepare 3 emails
ELSE
Have Outlook prepare 2 emails
END IF
I just need help setting up the "IF the date today is equal to Monday." How would that code look.
Set omail = CreateItem(olMailItem)
With omail
.Subject = "Daily Report"
.BodyFormat = olFormatHTML
.HTMLBody = "<a href ='" & fileL & "'>Daily Report</a>"
.To = [email protected]
.Display
How can I add a second link to this email?