+ Reply to Thread
Results 1 to 11 of 11

PDF Hyperlinking Macro Excel 2010

  1. #1
    Registered User
    Join Date
    05-04-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2010
    Posts
    3

    PDF Hyperlinking Macro Excel 2010

    Hello all,

    Back in 2008, with the help of some of the members here, we were able to create a macro that would hyperlink all the pdf files in a specified folder and display them in descending order in the excel spreadsheet as their file names. I believe it was Excel 2003 that I was using at the time. I am now looking to use this macro for Excel 2010 and am running into Run-time error '438'.

    Is anyone able to suggest a solution for this? If so, my company would greatly appreciate it as it was an incredibly useful tool back when it was working properly.

    Thank you very much and I look forward to your responses/suggestions. I've attached the old code below.

    Paul B

    Please Login or Register  to view this content.

  2. #2
    Registered User
    Join Date
    05-04-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: PDF Hyperlinking Macro Excel 2010

    Anyone able to have a closer look and offer any ideas or a solution to this?

  3. #3
    Forum Guru
    Join Date
    03-12-2010
    Location
    Canada
    MS-Off Ver
    2010 and 2013
    Posts
    4,418

    Re: PDF Hyperlinking Macro Excel 2010

    Here you go:

    Please Login or Register  to view this content.
    Enjoy
    Last edited by abousetta; 05-18-2012 at 05:03 AM.
    Please consider:

    Thanking those who helped you. Click the star icon in the lower left part of the contributor's post and add Reputation.
    Cleaning up when you're done. Mark your thread [SOLVED] if you received your answer.

  4. #4
    Registered User
    Join Date
    04-17-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    36

    Re: PDF Hyperlinking Macro Excel 2010

    Quote Originally Posted by abousetta View Post
    Here you go:

    Please Login or Register  to view this content.
    Enjoy
    im not even a part of this thread but THANK YOU!!!! this has helped me to no end!

    thanks again REPPED

  5. #5
    Forum Guru
    Join Date
    03-12-2010
    Location
    Canada
    MS-Off Ver
    2010 and 2013
    Posts
    4,418

    Re: PDF Hyperlinking Macro Excel 2010

    Glad I could help. The removal of FileSearch from Excel 2007 onwards was one of the reasons I started going to forums for help. I am glad that I am now learned enough to help others with similar problems.

  6. #6
    Registered User
    Join Date
    05-04-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: PDF Hyperlinking Macro Excel 2010

    YES! THANK YOU SO MUCH! Working perfectly as intended. You literally just shaved off weeks of hyperlinking because we scan and log EVERYTHING here. You made my day, abousetta.

    Again, thank you so very much!

  7. #7
    Forum Guru
    Join Date
    03-12-2010
    Location
    Canada
    MS-Off Ver
    2010 and 2013
    Posts
    4,418

    Re: PDF Hyperlinking Macro Excel 2010

    Thanks for the feedback. Good luck.

    abousetta

  8. #8
    Registered User
    Join Date
    09-12-2012
    Location
    Albany, New York
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: PDF Hyperlinking Macro Excel 2010

    this routine strips zeros off filenames. How do I preserve the leading zeros - mostly 3 of them.

  9. #9
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: PDF Hyperlinking Macro Excel 2010

    grnmtboy,

    Welcome to the Forum, unfortunately:

    Your post does not comply with Rule 2 of our Forum RULES. Don't post a question in the thread of another member -- start your own thread. If you feel it's particularly relevant, provide a link to the other thread. It makes sense to have a new thread for your question because a thread with numerous replies can be off putting & difficult to pick out relevant replies.
    If I have 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]

  10. #10
    Forum Guru
    Join Date
    03-12-2010
    Location
    Canada
    MS-Off Ver
    2010 and 2013
    Posts
    4,418

    Re: PDF Hyperlinking Macro Excel 2010

    @grnmtboy, when you start a new thread as requested by the moderator I can tell you how to amend the code to prevent Excel from stripping the leading zeros. Please PM me the URL for the new thread so that I can respond.

    Thanks and good luck.

    abousetta

  11. #11
    Forum Guru
    Join Date
    03-12-2010
    Location
    Canada
    MS-Off Ver
    2010 and 2013
    Posts
    4,418

    Re: PDF Hyperlinking Macro Excel 2010

    If anyone is following this thread, an updated version is provided in this thread (http://www.excelforum.com/showthread...=1#post2931073).

    abousetta

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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