Results 1 to 4 of 4
  1. #1
    Holli is offline Advanced Beginner
    Windows 8 Access 2010 32bit
    Join Date
    Nov 2014
    Posts
    46

    Hyperlink in Outlook Email

    If someone could please help, at a lost.



    I am currently making changes to an existing database. One of the requirements is to change the [Path] to a hyperlink when it auto populates in Outlook.

    The existing code works perfectly. The end user can paste the information in the database and the path is followed but not in the email.

    I would like the [Path] to populate as a hyperlink in the email.

    below is the code.

    Thanks for your help.

    email_subject = "PLEASE NOTE: Changes for Section #" & [Request Number].Value & " - " & [Request Title].Value
    email_body = "Please make note of the following changes to the request mentioned below:"
    email_body = email_body & Chr(10) & Chr(13)
    email_body = email_body & Chr(10) & Chr(13)
    email_body = email_body & "Please review the latest version of your request form and reply with your approval." & Chr(13) & Chr(10)
    email_body = email_body & Chr(13) & Chr(10)
    email_body = email_body & [Path]
    email_body = email_body & Chr(10) & Chr(13)
    email_body = email_body & "Request #: " & [Request Number].Value & Chr(13)
    email_body = email_body & "Request Name: " & [Request Title].Value & Chr(13)
    email_body = email_body & "QA Due Date: " & QA_Due_Date.Value & Chr(13)
    email_body = email_body & "WF Due Date: " & WF_Due_Date.Value & Chr(13)
    email_body = email_body & "File Due Date: " & File_Due_Date.Value & Chr(13)
    email_body = email_body & "Launch Date: " & Launch_Date.Value & Chr(13) & Chr(10)
    email_body = email_body & "Developer: " & Developer.Value & Chr(13)
    email_body = email_body & "QA Assigned To: " & QAer.Value & Chr(13) & Chr(10)
    email_body = email_body & Chr(13) & Chr(10) & Chr(13) & Chr(10)

  2. #2
    trevor40's Avatar
    trevor40 is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Feb 2014
    Location
    Australia
    Posts
    407
    Were's the hyperlink field ?

  3. #3
    Holli is offline Advanced Beginner
    Windows 8 Access 2010 32bit
    Join Date
    Nov 2014
    Posts
    46
    The [Path] is where the hyperlink is pasted into a text box "email_body = email_body & [Path]" in the form.

    Thanks trevor40

    Holli

  4. #4
    trevor40's Avatar
    trevor40 is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Feb 2014
    Location
    Australia
    Posts
    407
    ok, try putting & Chr(13) & Chr(10) OR VbCrLf after the [path], i think that because your adding the address with code it isn't seeing it as an address but as text, perhaps the return after the text may convert it to an address, if not you may have to try using HTML tags to add it, try a search for html code tags and address. if that works you will have to use htmlbody. in place of just body.

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

Similar Threads

  1. Replies: 22
    Last Post: 04-24-2014, 01:56 PM
  2. Hyperlink in Form will not open Outlook
    By abuller in forum Access
    Replies: 1
    Last Post: 11-16-2012, 03:22 PM
  3. Add a hyperlink to email message
    By Marianna_Air in forum Forms
    Replies: 2
    Last Post: 08-22-2012, 06:57 AM
  4. Hyperlink email won't mail-merge
    By alexc333 in forum Access
    Replies: 1
    Last Post: 09-20-2011, 07:17 PM
  5. How to email a hyperlink using VBA
    By Lockrin in forum Access
    Replies: 1
    Last Post: 07-16-2010, 02:29 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