Consulting

Results 1 to 2 of 2

Thread: links in outlook

  1. #1
    VBAX Tutor
    Joined
    Dec 2008
    Posts
    244
    Location

    links in outlook

    hello, I sent out an email daily with set of links. Some links have spaces within them so I placed each links between < > to make them clickable.

    It opened fine in all machine but one.

    One the machine that it doesn't work on, when clicked, it said cannot find that path, but I copied that exact path and paste it into run command, it opens.

    Is there a setting somewhere in outlook at prevent this from happening?

    thanks

  2. #2
    VBAX Expert JP2112's Avatar
    Joined
    Oct 2008
    Location
    Astoria, NY
    Posts
    590
    Location
    Can you post your code?

    What I do is wrap my links in Chr(34) (quotation marks) like this:

    MailItem.HTMLBody = "<span style=""font-family : verdana;font-size : 10pt""><p>Hello,</p>" & _
    "<p>Below is a link to a file on the company network.</p>" & _
    "<p><a href=" & Chr(34) & "G:\Dir\MyFolder\CompanyInfo\Jan2008\DataFile.xls" & Chr(34) & ">DataFile</a></p>" & _
    "<p>Thank you,<br />Jimmy Pena</p></span>" & "<br />"


    Quote Originally Posted by chungtinhlak
    hello, I sent out an email daily with set of links. Some links have spaces within them so I placed each links between < > to make them clickable.

    It opened fine in all machine but one.

    One the machine that it doesn't work on, when clicked, it said cannot find that path, but I copied that exact path and paste it into run command, it opens.

    Is there a setting somewhere in outlook at prevent this from happening?

    thanks

Posting Permissions

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