Results 1 to 3 of 3
  1. #1
    baronqueefington is offline Advanced Beginner
    Windows 8 Access 2013
    Join Date
    Dec 2014
    Posts
    32

    hyper link in vba email code

    Hello,



    I now have my code to generate an email happily working using html formatting for the body.

    I wish to put a hyper link in the body, but can't work out how to do it using html in the body.

    I have tried a few combinations, but can't get it right.

    oMail.HTMLBody = "<a href="http://www.hyperlinkcode.com">" & "Hyperlink Code" & "</a>"

    Any input would be greatly appreciated.

    Thanks

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    baronqueefington is offline Advanced Beginner
    Windows 8 Access 2013
    Join Date
    Dec 2014
    Posts
    32
    Perfect! Thanks again!

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 6
    Last Post: 03-26-2014, 10:04 AM
  2. Export attach field and replac with hyper link
    By ahmadrezaahmad in forum Import/Export Data
    Replies: 1
    Last Post: 07-20-2013, 01:03 PM
  3. Replies: 1
    Last Post: 11-01-2012, 09:49 AM
  4. Email Link
    By rovman in forum Programming
    Replies: 2
    Last Post: 12-11-2011, 09:57 AM
  5. Hyper link from a Form and query
    By ajrourke in forum Programming
    Replies: 0
    Last Post: 05-09-2011, 12:59 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums