Results 1 to 2 of 2

Thread: hyperlinks in excel

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2008
    Posts
    3

    hyperlinks in excel

    I have a list of 2200 drawings in excel and want to create links to them. The files all reside in the same drive and all use the same format.

  2. #2
    PowerPoster
    Join Date
    Dec 2004
    Posts
    25,618

    Re: hyperlinks in excel

    record a macro to create a link to one of the files,

    search in this or the vb6 forums for examples of looping through directories, i as well as others have posted code to do this,
    http://www.vbforums.com/showthread.p...sive+directory

    then combine the recorded code into the file loop

    if your files are all in one level of folders you will not need to use recursive file looping, but if they can be in sub sub folders, then you will need recursive searching
    Last edited by westconn1; Feb 10th, 2008 at 02:28 AM.
    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width