+ Reply to Thread
Results 1 to 2 of 2

multiple hyper link and

  1. #1
    Registered User
    Join Date
    09-01-2009
    Location
    CC, tx
    MS-Off Ver
    Excel 2007
    Posts
    1

    multiple hyper link and

    Here is what i am trying to do:

    I have a large data base of Pdf's and I have been hyperlinking them manually into excel and using a filter to query them to find documents more rapidly than scrolling through the server. However this is taking a very long time and is wasting time in my department.

    Is there a way to add a whole folder of Pdf's into excel so that each file is in a different row and thus can be queried using a filter?

    Or am I doing this in a inefficient way by using the filter?

    any help is greatly appreciated if I have to whip out my VB text i will.

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,375

    Re: multiple hyper link and

    Hi,

    there are lots of VBA tools that read the files in a folder and return a list in Excel. One that might serve as a starting point for you is here:

    http://www.excelforum.com/excel-prog...in-folder.html

    The macro described there will list the file names and some other file attributes into an excel spreadsheet. You can then add a column where you create the hyperlink with the function

    =HYPERLINK(C2,B2)

    where C2 has the full path name and B2 has the "friendly name" for the file.

    The macro gives you columns for
    - file name
    - full path
    - size
    - date created
    - date modified
    - owner

    You can add more columns to the table manually, or you could modify the macro.

    For Example, the following function code will return the Title from the file properties:

    Please Login or Register  to view this content.
    To use the function in the macro you must add a line in the Sub of the code I linked to, something like:

    Please Login or Register  to view this content.
    Look at the file properties for your PDF files to see what file attributes you want excel to read. Play around with the macro to see which numbers to adjust to read these properties. For example, the Title property required that I change a 9 to a 10 in the line

    Please Login or Register  to view this content.
    I found this out with trial and error, but I'm sure all other file properties can be read with this method.

    You may have other ways of classifying your PDFs, but that's probably a manual data entry process.

    HTH

+ 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.6.0 RC 1