+ Reply to Thread
Results 1 to 2 of 2

Hyperlinked documents to PDF

  1. #1
    Registered User
    Join Date
    08-08-2017
    Location
    New Jersey, USA
    MS-Off Ver
    2010
    Posts
    1

    Hyperlinked documents to PDF

    I have a workbook that has a list of hyperlinks to documents on a drive. I have a toggle check box next to each one item on the list. I would like to create a macro that will generate a pdf from all of the linked documents which are selected. That is to say, I'd like to be able to check the boxes next to some number of hyperlinks, click a button, and have a pdf of all of the selected ones created. The documents currently exist as word docs. Any help in this matter would be greatly appreciated.

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

    Re: Hyperlinked documents to PDF

    Hi
    Welcome to the forum

    Please test in attached file first by doing the following:
    In Excel:
    - replace my links with links of your own in column A
    - do this by right-click the cell and replacing the link (as per picture below)
    - select a cell in column B to automatically add/remove a tick against each link
    - see *note2 below
    In VBA:
    - amend the folder path to save pdf files by amending this line - ensure you add the trailing "\"
    Please Login or Register  to view this content.
    - for the first test everything goes in that folder (see *note1)
    - go back into Excel
    - run the VBA with {ALT} t

    *note1
    if you want the pdf's to go to more than one folder, then VBA requires amendment
    - let me know the rule
    - perhaps same folder as the original Word file?
    - or possibly a folder path determined by original Word file?
    etc

    *note2
    you did not explain how your links were created and
    - this code may need to be adapted slightly to work with your links
    - are your links simple links created as above?
    - if not, let me know method/formula etc


    EditLink.jpg

    In module1:
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by kev_; 08-09-2017 at 08:50 AM.
    Click *Add Reputation to thank those who helped you. Ask if anything is not clear

+ 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. Excel macro to print hyperlinked word documents
    By gazz57 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-06-2016, 06:21 AM
  2. Count words and characters of hyperlinked word documents?
    By asterixo500 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-19-2015, 12:39 PM
  3. Documents and Settings All Users Documents - Access is denied
    By peterrc in forum Microsoft Windows Help
    Replies: 8
    Last Post: 01-26-2014, 06:30 AM
  4. convert all 97-2003 excel documents to macro enabled documents on server
    By viperisback in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-23-2013, 09:06 AM
  5. Excel 2007 VBA/Macro to print multiple hyperlinked Word documents.
    By Mark4292 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-26-2013, 07:55 AM
  6. Date Last Modified of Hyperlinked Documents + Collaboration of Hyperlinked Documents
    By mr butter in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-15-2010, 05:35 AM
  7. How do I print hyperlinked documents from a cell in excel
    By Queenshero in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-29-2005, 03:06 AM

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