+ Reply to Thread
Results 1 to 10 of 10

Hyperlink Problem

  1. #1
    Registered User
    Join Date
    01-13-2014
    Location
    Croatia
    MS-Off Ver
    Excel 2003
    Posts
    19

    Hyperlink Problem

    Hi,

    Here is my code I couldn't get it working

    Please Login or Register  to view this content.
    How to put full path to cell like hyperlink ?

    Thanks,
    Jan.
    Last edited by JanF; 02-07-2014 at 09:43 AM.

  2. #2
    Registered User
    Join Date
    01-13-2014
    Location
    Croatia
    MS-Off Ver
    Excel 2003
    Posts
    19

    Re: Hyperlink Problem

    Sorry for this.
    I have edited post.

    Thanks Fotis1991...

  3. #3
    Registered User
    Join Date
    01-13-2014
    Location
    Croatia
    MS-Off Ver
    Excel 2003
    Posts
    19

    Re: Hyperlink Problem

    Come on ExcelMasters, really need your help...

  4. #4
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Hyperlink Problem

    Hello JanF,

    This will do it...
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  5. #5
    Forum Contributor
    Join Date
    01-30-2011
    Location
    Vancouver, Canada
    MS-Off Ver
    Excel 2010
    Posts
    604

    Re: Hyperlink Problem

    Try this...

    Please Login or Register  to view this content.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    01-13-2014
    Location
    Croatia
    MS-Off Ver
    Excel 2003
    Posts
    19

    Re: Hyperlink Problem

    Thanks guys, it works fine.

    I have another question, it's about hyperlink again so I don't want to open new thread - I will post here

    I have code that converts text to hyperlink

    Please Login or Register  to view this content.
    This code works fine but it add file:/// to my file path.
    How to remove this file:/// because hyperlink will not work when path is like \\server_name\folder\file.pdf

    \\server_name\folder\file.pdf this work
    file:///\\server_name\folder\file.pdf this doesn't work

    Thanks

  7. #7
    Registered User
    Join Date
    01-13-2014
    Location
    Croatia
    MS-Off Ver
    Excel 2003
    Posts
    19

    Re: Hyperlink Problem

    Nobody?

    my filepath looks like \\server_name\folder\file.pdf because I'm running on local server in my company.
    and when this code add file:/// to filepath it looks like this file:///\\server_name\folder\file.pdf and this doesn't working.

    Is there any way to remove file:/// from link or something else?

    Thanks again guys...

  8. #8
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Hyperlink Problem

    Hello JanF,

    What are in the cells when you run the code?

  9. #9
    Registered User
    Join Date
    01-13-2014
    Location
    Croatia
    MS-Off Ver
    Excel 2003
    Posts
    19

    Re: Hyperlink Problem

    When I run the code from Leith Ross is: \\SrvVSQL65\Kor_rezerva\1_TEH\.TEHNIČKA OPERATIVA\1 POSLOVI OPERATIVE\Priključci\mapa\P 69-2014.pdf (hyperlink)
    When I position cursor on hyperlink and wait for info to show then it says: file:///\\SrvVSQL65\Kor_rezerva\1_TEH\.TEHNIČKA OPERATIVA\1 POSLOVI OPERATIVE\Priključci\mapa\P 69-2014.pdf (this hyperlink is NOT working)

    Hyperlink from cell is automatically stored in some file.txt like text witch is: \\SrvVSQL65\Kor_rezerva\1_TEH\.TEHNIČKA OPERATIVA\1 POSLOVI OPERATIVE\Priključci\mapa\P 69-2014.pdf
    When I open other workbook that reads text from file.txt and converts it to hyperlinks using code that I posted in cell is \\SrvVSQL65\Kor_rezerva\1_TEH\.TEHNIČKA OPERATIVA\1 POSLOVI OPERATIVE\Priključci\mapa\P 69-2014.pdf
    but again when I position cursor on hyperlink and wait for info to show it says: file:///\\SrvVSQL65\Kor_rezerva\1_TEH\.TEHNIČKA OPERATIVA\1 POSLOVI OPERATIVE\Priključci\mapa\P 69-2014.pdf

    This is a little bit confusing

    I think that hyperlink like: \\SrvVSQL65\Kor_rezerva\1_TEH\.TEHNIČKA OPERATIVA\1 POSLOVI OPERATIVE\Priključci\mapa\P 69-2014.pdf
    will work but when the system adds file:/// to this path is NOT working (it says cannot open specified file)

  10. #10
    Registered User
    Join Date
    01-13-2014
    Location
    Croatia
    MS-Off Ver
    Excel 2003
    Posts
    19

    Re: Hyperlink Problem

    problem solved,
    thanks for help.

    folder name was wrong
    my mistake...

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Hyperlink problem
    By scantron in forum Excel General
    Replies: 4
    Last Post: 04-05-2012, 11:51 AM
  2. PDF Hyperlink Problem
    By John Calder in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 06-14-2006, 10:45 AM
  3. Hyperlink problem !
    By Tanny in forum Excel General
    Replies: 1
    Last Post: 03-17-2005, 12:17 AM
  4. hyperlink Problem
    By Brian Mateer in forum Excel General
    Replies: 2
    Last Post: 02-10-2005, 06:06 PM

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