+ Reply to Thread
Results 1 to 6 of 6

Email form needs modification

  1. #1
    Forum Contributor
    Join Date
    10-28-2010
    Location
    quebec, canada
    MS-Off Ver
    o365
    Posts
    187

    Email form needs modification

    Hi,

    I am using this standard email VBA

    Please Login or Register  to view this content.

    My question is related to this section:
    Please Login or Register  to view this content.
    I am trying to modify the "to" section to grab the email from a specific cell located on sheet "Agents" on cell H4, and the CC located on sheet "Agents" on cell h3.

    i know it's fairly simple but i am not sure on how to right this one i tried .sheet(range) etc and doesnt seem to work.

  2. #2
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Email form needs modification

    Try this for "To'
    Please Login or Register  to view this content.
    and this for "CC"
    Please Login or Register  to view this content.
    Not 100% sure where the sheet name should go, but, hopefully this gives you a start
    1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
    You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.

    Tom

  3. #3
    Forum Contributor
    Join Date
    10-28-2010
    Location
    quebec, canada
    MS-Off Ver
    o365
    Posts
    187

    Re: Email form needs modification

    Please Login or Register  to view this content.
    That does not work unfortunately no error, but nothing in my outbox and the destination email box. if i take the value off and use a fix email address it does work.

    Any clues?

  4. #4
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Email form needs modification

    Sorry, I've been looking for a solution, but haven't found one yet. If anyone else has any suggestions, please feel free to post them.

  5. #5
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,028

    Re: Email form needs modification

    maybe
    Please Login or Register  to view this content.
    Regards, John55
    If you have issues with Code I've provided, I appreciate your feedback.
    In the event Code provided resolves your issue, please mark your Thread as SOLVED.
    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

    ...enjoy -funny parrots-

  6. #6
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Email form needs modification

    If that's all it was......son of a......
    But, thank you John!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. VBA Code modification for Outlook email setup
    By savetrees in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-11-2014, 01:20 AM
  2. [SOLVED] sending email with specific range as email body vba modification
    By KK1234 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-19-2014, 11:24 AM
  3. Replies: 6
    Last Post: 11-05-2013, 02:22 AM
  4. VBA for Email and Modification date/user
    By iamreese in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 11-09-2011, 08:16 AM
  5. [SOLVED] VBA modification for IMAP email accont
    By Rob in forum Excel General
    Replies: 1
    Last Post: 08-17-2005, 02:05 PM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1