+ Reply to Thread
Results 1 to 5 of 5

create hyperlink to folder or file

  1. #1
    Registered User
    Join Date
    01-08-2020
    Location
    amsterdam
    MS-Off Ver
    2010
    Posts
    45

    create hyperlink to folder or file

    I have been well helped a few times by you, I have a question that unfortunately I am not able to solve.
    I have made a tool with which I can easily add hyperlinks of files in an cell in a Excel sheet. By clicking on commandbutton1 I browse to the file select this, the url will be in texbox 1, after which I will save it as a hyperlink in the excel document.
    Currently I am looking for a way to create a hyperlink to a folder. I would like to select a file or folder location and make it a hyperlink.

    Below is the code i'm currently using, can anyone please help me?

    Please Login or Register  to view this content.

  2. #2
    Valued Forum Contributor
    Join Date
    11-04-2018
    Location
    Denpasar
    MS-Off Ver
    Excel 2010
    Posts
    777

    Re: create hyperlink to folder or file

    Maybe you can play around to this code to meet your need :
    Please Login or Register  to view this content.
    The code will read all the files in the folder "test" and in the subfolder inside folder "test",
    then list it on the sheet starts from cell A2,
    then create a hyperlink to that folder.
    Last edited by karmapala; 06-30-2020 at 02:57 AM.

  3. #3
    Registered User
    Join Date
    01-08-2020
    Location
    amsterdam
    MS-Off Ver
    2010
    Posts
    45

    Re: create hyperlink to folder or file

    Thank you for your fast repaly!
    unfortunately this is not what I am looking for, with this code all files are automatically listed and hyperlinked in the dirctory.

    what i'm looking for is a way how i can select and hyperlink a file or file folder

  4. #4
    Valued Forum Contributor
    Join Date
    11-04-2018
    Location
    Denpasar
    MS-Off Ver
    Excel 2010
    Posts
    777

    Re: create hyperlink to folder or file

    I know, that's why I put a note that you need to "play around" with the code .

    Anyway:
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    01-08-2020
    Location
    amsterdam
    MS-Off Ver
    2010
    Posts
    45

    Re: create hyperlink to folder or file

    I'm sorry for mis understanding, I was a bit socket because the server is overloaded with data and it takes a time before the system ends te creating all hyperlinks but it's finedhed, I go play with your code.

+ 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. Create Folder & Check if Folder Exists if Not Create Folder & then Save File
    By Quivolt in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-28-2017, 05:31 AM
  2. [SOLVED] Create hyperlink to file in another folder if listed in column A
    By MusicMan in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-05-2013, 04:43 AM
  3. [SOLVED] Macro to create hyperlink list of every file in a folder, subfolders
    By itmanusa in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-25-2013, 12:43 PM
  4. Macro to create hyperlink list of every file in a folder, subfolders, and SHORTCUTS
    By Billdick7788 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-20-2013, 11:11 AM
  5. Replies: 3
    Last Post: 09-30-2011, 04:35 AM
  6. Save a file to a folder, create folder if it doesn't exist
    By mcinnes01 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-01-2010, 09:12 AM
  7. Replies: 6
    Last Post: 08-11-2006, 03:41 PM

Tags for this Thread

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