Consulting

Results 1 to 3 of 3

Thread: Adding range values to email

  1. #1
    VBAX Contributor
    Joined
    Jul 2011
    Location
    Manchester
    Posts
    142
    Location

    Adding range values to email

    Morning everyone

    I have used a template from Ron Bruin to set up an automatic email when a value in column F reaches 14 which works fine but since make the changes to work in my own sheet I cannot get it to add the values for the columns A-E for the same row which worked in his examples.

    I've attached the workbook and would be really grateful if anyone can help figure out why it no longer adds the additional details

    Thanks

    Mykal
    Attached Files Attached Files
    Last edited by mykal66; 03-30-2015 at 12:26 AM. Reason: Wrong Attachment

  2. #2
    VBAX Mentor
    Joined
    Feb 2015
    Posts
    395
    Location
    You have deleted a vital bit of code somewhere which was telling VBA which cell is FormulaCell

    To test this I inserted
    Set FormulaCell = Worksheets("Broker Agreements").Range("D4")
    Below the line
    strsub = Format(Now, "DD-MMM-YYYY") & " - Upcoming Review Reminder:"
    and it worked

    FormulaCell drives all the values such as
    Cells(FormulaCell.Row, "A").Value
    Hopefully this will help you solve your puzzle

  3. #3
    VBAX Contributor
    Joined
    Jul 2011
    Location
    Manchester
    Posts
    142
    Location
    Hi Yongle

    Thank you so much for you help - worked perfectly. I messed about with this all weekend but couldn't figure out what I had done.

    As always I really do appreciate the help you guys give

    Best wishes

    Mykal

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •