Results 1 to 3 of 3
  1. #1
    Corey is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jul 2015
    Posts
    11

    How to use html tag <a>?


    Does the html tag <a> function if in .HTMLBody? I found example: <a href="http://www.w3schools.com">Visit W3Schools.com!</a> which is what I need to perform, so it shows only a selected name/phrase. But it does not function if in the .HTMLBody (email message).

  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,929
    Did you include that all within quote marks? Issue is the quote marks around the URL.

    Try:

    "<a href=""http://www.w3schools.com"">Visit W3Schools.com!</a>"

    or

    "<a href='http://www.w3schools.com'>Visit W3Schools.com!</a>"
    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
    Corey is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jul 2015
    Posts
    11
    June7 - I forgot to thank you on this! Thank you!!

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

Similar Threads

  1. HTML in VBA - faster way?
    By Ruegen in forum Programming
    Replies: 2
    Last Post: 12-11-2013, 08:52 PM
  2. Chr(13) & Chr(10) in HTML format
    By cbrsix in forum Programming
    Replies: 3
    Last Post: 09-25-2013, 02:37 PM
  3. HTML and VBA
    By tylerg11 in forum Forms
    Replies: 1
    Last Post: 08-23-2012, 05:53 PM
  4. HTML Editor
    By mystifier in forum Forms
    Replies: 3
    Last Post: 11-11-2010, 05:51 AM
  5. HTML E-mail Using VBA
    By graviz in forum Programming
    Replies: 1
    Last Post: 12-09-2009, 08:52 AM

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