+ Reply to Thread
Results 1 to 3 of 3

Trying to use variables for both URL and display text in an email body hyperlink

  1. #1
    Registered User
    Join Date
    09-03-2014
    Location
    Manchester, England
    MS-Off Ver
    Office 365
    Posts
    2

    Trying to use variables for both URL and display text in an email body hyperlink

    Hi,

    our admin team need to be able to send bulk emails at short notice, I've coded a couple of them but wanted to set them up so they could enter the subject, body, hyperlink and signature info into cells on the setup tab and have the code reference that to generate the emails. The problem I'm having is with the hyperlink, I'm almost there in that I now have it using the URL and display text from the variables but I end up with a trailing " at the end of the display text when the email is generated. This is the code I'm using:

    Please Login or Register  to view this content.
    The result:
    Subject: Test

    Dear Candidate,

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec eget mollis nisi. Integer sit amet mauris porttitor, rhoncus mi sit amet, lobortis libero. Nulla aliquam scelerisque augue vel faucibus. Nam condimentum dui vitae ex vestibulum malesuada. Integer purus metus, blandit at iaculis vel, fringilla quis ex. Fusce a nisi bibendum nisi sollicitudin rhoncus. Vivamus rhoncus dui et ullamcorper imperdiet. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque et nisi id odio tempus cursus. Nam dictum ligula nisl, eu tincidunt ante laoreet sit amet.

    Sed tincidunt hendrerit ligula eget suscipit. Mauris suscipit arcu in nisl tincidunt laoreet. Nullam vitae rhoncus lectus. Quisque ac ante ut mi feugiat luctus ut id arcu. Cras suscipit semper facilisis. Vestibulum libero odio, vestibulum et consectetur ut, ornare ut enim. Vivamus vulputate, velit id dignissim scelerisque, tortor odio ultrices mi, a ultricies magna justo pellentesque orci. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque eget ante sit amet urna fringilla placerat finibus interdum quam. In in ornare nunc. In nunc sapien, dignissim ut eleifend at, pellentesque id enim.

    Google"

    Many thanks

    Admin
    I'm so close now and this is driving me crazy......thanks in advance

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,645

    Re: Trying to use variables for both URL and display text in an email body hyperlink

    Try this.
    Please Login or Register  to view this content.
    If posting code please use code tags, see here.

  3. #3
    Registered User
    Join Date
    09-03-2014
    Location
    Manchester, England
    MS-Off Ver
    Office 365
    Posts
    2

    Re: Trying to use variables for both URL and display text in an email body hyperlink

    Thanks Norie, I figured it'd be something simple but couldn't see for looking! It worked perfectly

+ 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. Need help witl Hyperlink in Email body
    By schmick in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-09-2014, 05:33 PM
  2. Email Hyperlink Adding Body/Subject Text
    By jpmorgan123 in forum Excel General
    Replies: 1
    Last Post: 05-12-2013, 12:41 PM
  3. [SOLVED] Active Hyperlink in Email body.
    By pipoliveira in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-09-2012, 03:25 AM
  4. Add hyperlink to body of email thru Excel
    By MAYDAY in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-07-2005, 05:05 PM
  5. Insert Hyperlink in body of email
    By MAYDAY in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-04-2005, 12:15 PM

Tags for this Thread

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