+ Reply to Thread
Results 1 to 9 of 9

Links do not work once sent via outlook

  1. #1
    Registered User
    Join Date
    01-21-2004
    Location
    Liverpool
    MS-Off Ver
    2003
    Posts
    88

    Links do not work once sent via outlook

    Hi all,

    Am using ronebruin mail VBA to send mails from outlook http://www.rondebruin.nl/mail/folder3/mail4.htm However the links do not appear to work.

    If a cell has a hyperlink such as www.google.co.uk then it appears but it is no active. The links work in excel but just not when sent via outlook. any ideas???

    Thanks in advance
    regards
    Paul
    http://www.frontlineuk.com
    FrontLineUK

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Links do not work once sent via outlook

    Which set of code are you actually using?
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Links do not work once sent via outlook

    could you post a sample file with a range reflecting your real file, ie that contains links which are failing to generate correctly in OL ?

    is OL displaying the messages in plain text ?

    Quote Originally Posted by royUK View Post
    Which set of code are you actually using?
    Roy, other than the notes (binding etc) all the code is required - the 2nd section is a Function for converting the Range

  4. #4
    Registered User
    Join Date
    01-21-2004
    Location
    Liverpool
    MS-Off Ver
    2003
    Posts
    88

    Re: Links do not work once sent via outlook

    The code is as per the link but attached below.

    As for the links it is every hyperlink in the excel file, so if i create a hyperlink in a cell it works in excel but once it has been outputted by the code it is no longer a hyper link. I am assuming that it may be something with the rangeto html function but from looking at it basically saves it as a web page and publish's it

    Please Login or Register  to view this content.

  5. #5
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Links do not work once sent via outlook

    I'm running 2007 presently but I could only replicate the lack of link issue if I set OL to display the message in Plain text format... I will try and test on a pre 2007 environment later (unless someone else chooses to in the meantime...)

  6. #6
    Registered User
    Join Date
    01-21-2004
    Location
    Liverpool
    MS-Off Ver
    2003
    Posts
    88

    Re: Links do not work once sent via outlook

    My out look is set to rich text

  7. #7
    Registered User
    Join Date
    01-21-2004
    Location
    Liverpool
    MS-Off Ver
    2003
    Posts
    88

    Re: Links do not work once sent via outlook

    Am using OL 2003 XL 2003

    OL mail format is set to Rich text no links working
    OL mail format set to HTML no links working
    OL mail format to plain text no links working

    If i copy and paste manually into ol links work.

    I am assuming that it is the rangetohtml function at first i though it was the because the HTMLtype was set to xlHtmlstatic but there is no other selction unless you wantinteractivity which means activex which i cannot use due to restrictions. Am I there for correct to assume that if my network security setting prohibit activex then an alternative solution needs to be sourced?

  8. #8
    Registered User
    Join Date
    01-21-2004
    Location
    Liverpool
    MS-Off Ver
    2003
    Posts
    88

    Re: Links do not work once sent via outlook

    Ok after a looking at the function it is the following code snip that is causing the hyperlinks to be lost
    Please Login or Register  to view this content.
    As the function uses pastes special to paster the values.
    In my spreadsheet people use the insert>hyperlink for the hyperlinks.
    What would i need to change? My mind has drew a blank
    It's prob the following line which needs changing just to astright forward
    Please Login or Register  to view this content.

  9. #9
    Registered User
    Join Date
    01-21-2004
    Location
    Liverpool
    MS-Off Ver
    2003
    Posts
    88

    Re: Links do not work once sent via outlook

    hi i got this working now. Brain working slow

    i changed the following
    Please Login or Register  to view this content.
    To
    Please Login or Register  to view this content.
    Sometimes we over look the small things and think its something alot bigger then what it actually is. If you have been working on this thanks for your time

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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