Hi,

In your CheckForExpiryDates procedure you are passing the Column M reminder date as the first parameter in the Call SendMail procedure.
The Offset which sets the email should be 11 not 12.

Regards