+ Reply to Thread
Results 1 to 11 of 11

Multiple hyperlinks from local folder

  1. #1
    Registered User
    Join Date
    11-25-2016
    Location
    Dubai
    MS-Off Ver
    2011
    Posts
    5

    Post Multiple hyperlinks from local folder

    Hi all experts, I just went through with the forum replies and impressed :D !

    I am stuck on a place where I need about 20,000 image links(hyperlinks) from a local hard drive folder to an excel file, the file will be in the same folder. I use mac. excel version 2011.

    Can we get this whole process automated by any means ? Will really really appreciate any help on this.

    Ow, my knowledge in excel is very basic. Can get formulas done but nothing fancy (macros, VBA) but I can follow instructions :D

  2. #2
    Valued Forum Contributor kasan's Avatar
    Join Date
    07-22-2009
    Location
    Riga, Latvia
    MS-Off Ver
    Excel 2010
    Posts
    680

    Re: Multiple hyperlinks from local folder

    Marc L, TS using Mac and as far as I know function Dir() is not working for Mac the same way as in Win.

  3. #3
    Registered User
    Join Date
    11-25-2016
    Location
    Dubai
    MS-Off Ver
    2011
    Posts
    5

    Re: Multiple hyperlinks from local folder

    Sorry guys, I am really a noob on this. Any way you can tell me where and how to do this ? my work has been stuck for a week trying to get this done.

  4. #4
    Valued Forum Contributor kasan's Avatar
    Join Date
    07-22-2009
    Location
    Riga, Latvia
    MS-Off Ver
    Excel 2010
    Posts
    680

    Re: Multiple hyperlinks from local folder

    Try this one, but change strPath value to your real folder
    Please Login or Register  to view this content.

  5. #5
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Re: Multiple hyperlinks from local folder

    Quote Originally Posted by kasan View Post
    Marc L, TS using Mac and as far as I know function Dir() is not working for Mac the same way as in Win.
    As here it's a Windows forum …

    • He can read VBA inner help and first try himself from the sample … And there are so many samples in threads !

    • He must create his thread in the appropriate MAC section …

  6. #6
    Registered User
    Join Date
    11-25-2016
    Location
    Dubai
    MS-Off Ver
    2011
    Posts
    5

    Re: Multiple hyperlinks from local folder

    Thanks Kasan

    I changed the needed and it is now:
    Please Login or Register  to view this content.
    It gives error,
    Run-time error 76, Path not found
    Last edited by Leith Ross; 11-25-2016 at 01:57 PM. Reason: Added Code Tags

  7. #7
    Valued Forum Contributor kasan's Avatar
    Join Date
    07-22-2009
    Location
    Riga, Latvia
    MS-Off Ver
    Excel 2010
    Posts
    680

    Re: Multiple hyperlinks from local folder

    Because you didn`t write a proper path, try this one
    Please Login or Register  to view this content.

  8. #8
    Registered User
    Join Date
    11-25-2016
    Location
    Dubai
    MS-Off Ver
    2011
    Posts
    5

    Re: Multiple hyperlinks from local folder

    Thank you for your help. Getting the same error. when I click debug one of the lines get highlighted. Thought might help

    Screen Shot 2016-11-25 at 4.18.50 PM.png

    Screen Shot 2016-11-25 at 4.19.05 PM.png

  9. #9
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Re: Multiple hyperlinks from local folder



    Just replace Windows like StrPath by a valid MAC path, check on your system …

  10. #10
    Registered User
    Join Date
    11-25-2016
    Location
    Dubai
    MS-Off Ver
    2011
    Posts
    5

    Re: Multiple hyperlinks from local folder

    HAve checked and it still gives the same error.

  11. #11
    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: Multiple hyperlinks from local folder

    Hello asadkaludi,

    If my memory is correct about Mac file paths, this should work.
    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!)

+ 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. Macro to create hyperlinks for multiple unique excel files in a given folder
    By coop442s in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-26-2019, 03:23 PM
  2. [SOLVED] Excel 2013 changes hyperlinks to local drive
    By Whtrz in forum Excel General
    Replies: 3
    Last Post: 07-07-2016, 03:31 AM
  3. [SOLVED] Creating multiple hyperlinks to files in a folder - one file per hyperlink per cell
    By fsusd in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-06-2014, 12:17 PM
  4. Replies: 8
    Last Post: 08-09-2013, 06:10 AM
  5. Insert Multiple Hyperlinks from Folder and Subfolders
    By leonardapple in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 0
    Last Post: 02-27-2013, 11:10 AM
  6. Replies: 4
    Last Post: 01-29-2010, 01:19 PM
  7. VBA macro to autofill Incrementing Hyperlinks to Local Sheets
    By freud1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-27-2009, 10:17 AM

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