+ Reply to Thread
Results 1 to 4 of 4

Need to open links to PDFs and save them to a folder

  1. #1
    Registered User
    Join Date
    02-18-2015
    Location
    Wailuku, Hawaii
    MS-Off Ver
    Office 365
    Posts
    5

    Need to open links to PDFs and save them to a folder

    Hi,
    I've been given a task of opening a list of hyperlinks from an excel file in Column H and save them to a new folder. All the hyperlinks are links to pdf files on our network drives. Right now I am clicking the link to the pdf, I save as and save them to a new folder "O:\Individuals\Niel\North Kona", and this is for hundreds of links. I was just wondering if anyone could help me with a macro that can do this for me.
    Thank you

  2. #2
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: Need to open links to PDFs and save them to a folder

    Try this:
    (avoids requirement to open the pdfs)

    VBA1 creates (in sheet "FileList") a list of links and pdf file names
    VBA2 saves those files to your folder

    What you need to do (in a copy of your file!!)
    - paste both VBA1 and VBA2 into a general module
    - add a new sheet and name it "FileList"
    - go to the sheet containing links in column H
    - run VBA1 from that sheet
    - look at output in sheet "FileList"
    - if happy, then run VBA2
    - check contents of folder

    VBA1
    Please Login or Register  to view this content.
    VBA2
    Please Login or Register  to view this content.
    FileList.jpg
    Last edited by kev_; 08-22-2017 at 09:47 AM.
    Click *Add Reputation to thank those who helped you. Ask if anything is not clear

  3. #3
    Registered User
    Join Date
    02-18-2015
    Location
    Wailuku, Hawaii
    MS-Off Ver
    Office 365
    Posts
    5

    Re: Need to open links to PDFs and save them to a folder

    Its works perfectly. Thank you soooo much. It helps me out alot.

  4. #4
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: Need to open links to PDFs and save them to a folder

    You are welcome.
    Attached Images Attached Images
    Last edited by kev_; 08-22-2017 at 04:34 PM.

+ 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. Save open file regardless of the folder where it is
    By pedroc74 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-21-2017, 07:17 AM
  2. Macro to open a column of hyperlinks and save the PDFs
    By beatricehuang in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-01-2017, 04:03 AM
  3. [SOLVED] VBA Code to open Save As box in a specified folder
    By spencerwsmith in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-25-2014, 02:32 PM
  4. [SOLVED] Save all open workbooks to a specified folder
    By Robotacha2010 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 05-29-2012, 10:15 AM
  5. Force Save to specified folder on 1st open
    By Bob in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-16-2006, 01:45 PM
  6. Force Save to specified folder on 1st open
    By Bob in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-13-2006, 04:20 PM
  7. open file from folder save in new folder
    By tim64 in forum Excel Programming / VBA / Macros
    Replies: 21
    Last Post: 06-17-2005, 03:19 PM

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