+ Reply to Thread
Results 1 to 8 of 8

Thread: Hyperlink help

  1. #1
    Registered User
    Join Date
    01-14-2012
    Location
    tamworth
    MS-Off Ver
    Excel 2003
    Posts
    10

    Hyperlink help

    Hi

    I have a pretty basic knowledge on excel so please bear with me. I have created a spreadsheet and in the final column have put in a hyperlink to link to a folder on a network drive.

    The folder contains about 200 other folders (customer names) with about 20,000 files (part numbers) in total. I want the hyperlink to go to a specific file in one of the folders depending on what part number is typed in another column on the spreadsheet ie column B is the part numbers so when the hyperlink is clicked on that line it searches the folder for for that particular part number. Is this possible?

    If you want me to post the spreadsheet I can

    Thanks

    Paul

  2. #2
    Forum Moderator arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    4,371

    Re: Hyperlink help

    You can do this via VBA. Just post the sample spreadsheet and provide the folder path.
    Cheers,
    Arlette

    If I helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    01-14-2012
    Location
    tamworth
    MS-Off Ver
    Excel 2003
    Posts
    10

    Re: Hyperlink help

    Hi Arlette

    Thanks for the reply, I have attached the sample. The folder path would be V:drillshop\drill history

    I would like the link in column H to find the part number written in column D

    Thanks again for any help

    Paul
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor Haseeb A's Avatar
    Join Date
    05-24-2011
    Location
    India | Kwt
    MS-Off Ver
    2007
    Posts
    1,460

    Re: Hyperlink help

    Hello Paul,

    Use HYPERLINK function. H2 copy down.

    =HYPERLINK("V:\drillshop\drill history\"&D2&".xls","Click for file")

    If it is not works replace V: with server name, \\Server name\
    HTH; Haseeb

    If your problem is solved, please say so clearly, and mark your thread as Solved:
    Forum Rules & How to Mark a thread as SOLVED

  5. #5
    Registered User
    Join Date
    01-14-2012
    Location
    tamworth
    MS-Off Ver
    Excel 2003
    Posts
    10

    Re: Hyperlink help

    Hi Haseeb

    Thanks for the help, I tried that formula but the link still just opens up the main folder with all the other folders inside. It doesn't search for the part number in column D unless I'm doing something wrong.

    Thanks

    Paul

  6. #6
    Registered User
    Join Date
    01-14-2012
    Location
    tamworth
    MS-Off Ver
    Excel 2003
    Posts
    10

    Re: Hyperlink help

    So if you click the link in column h and part number 222222 is in column D I want it to open up drill history (main folder) / customer 2 (sub folder) / 222222 (part number)

    Regards

    Paul

  7. #7
    Valued Forum Contributor Haseeb A's Avatar
    Join Date
    05-24-2011
    Location
    India | Kwt
    MS-Off Ver
    2007
    Posts
    1,460

    Re: Hyperlink help

    My last post was assuming, part number is inside the drill history without any sub folder. If you have sub folders in drill history & you are NOT sure in which sub folders contains the part numbers file. In that case VBA only the way to loop on those folders & open it.

    If all the part numbers are in a specific folder you can add an additional path in HYPERLINK. eg:

    =HYPERLINK("V:\drillshop\drill history\Customer\"&D2&".xls","Click for file")

    Or, if your customer folder in drill history is same (NOT case sensitive) as entered in Col_C, you can use like,

    =HYPERLINK("V:\drillshop\drill history\"&C2&"\"&D2&".xls","Click for file")
    HTH; Haseeb

    If your problem is solved, please say so clearly, and mark your thread as Solved:
    Forum Rules & How to Mark a thread as SOLVED

  8. #8
    Registered User
    Join Date
    01-14-2012
    Location
    tamworth
    MS-Off Ver
    Excel 2003
    Posts
    10

    Re: Hyperlink help

    Hi Haseeb

    I don't know which sub folders contain the part numbers so I guess it will need VBA.

    Would it be possible for you to help me with the code for this please?

    Thanks

    Paul

+ 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.2.0