Microsoft Office Forums

Go Back   Microsoft Office Forums > Microsoft Word > Word

LinkBack Thread Tools Display Modes
Old 06-13-2018, 09:51 AM
MICHELE0531 MICHELE0531 is offline Windows 10 Office 2007
Join Date: Jun 2018
Posts: 1
MICHELE0531 is on a distinguished road
Default Hyperlink Shortcuts using pdfs

I am looking for help with a short cut to embed hyperlinks into a document. I have a weekly committee document I summarize and embed hyperlinks into for one of my attorneys. The current process is time consuming as it involves four steps each time I want to add a hyperlink (i.e., (1) select the drive on the computer, (2) select the folder for the committee name, (3) select the date for the hearing, and (4) select the individual pdf to be embedded).

It's not hard, but very time consuming. The one I had today contained 50 cases and in a time crunch, is not very efficient. Does anyone know of a way one you select hyperlink for it at least to return to the last folder you are in (the dated one)?
Reply With Quote
Old 06-13-2018, 11:01 AM
d4okeefe d4okeefe is offline Windows 10 Office 2016
Advanced Beginner
Join Date: Apr 2013
Posts: 72
d4okeefe is on a distinguished road

I looked around, and I don't think there's a way change the default directory in the Edit Hyperlink dialog, which is frustrating.

One thing I've done in the past is add generic hyperlinks, then edit the fields manually. For example, if the text in your document to which your adding links contains a consistent phrase, like ".pdf", you could add generic links with the following.

Sub add_generic_links()
    Dim r As Range, r1 As Range
    Set r = ActiveDocument.Content
    With r.Find
        .Text = ".pdf"
        Do While .Execute
            Set r1 = r.Duplicate
            r1.MoveStart wdCharacter, -1
            r1.Expand wdWord
            ActiveDocument.Hyperlinks.Add r1, "c:\scratch"
    End With
End Sub
Type Alt-F9 to view the hyperlinks, and you'll see something like this:
{ HYPERLINK "c:\\scratch" }
You can edit the directory from there.

Sorry there isn't an easier way.
Reply With Quote
Old 06-13-2018, 04:54 PM
Guessed's Avatar
Guessed Guessed is offline Windows 10 Office 2016
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 1,150
Guessed has a spectacular aura aboutGuessed has a spectacular aura aboutGuessed has a spectacular aura about

I would use a slightly different workflow to get the hyperlinks in faster.

Open a Windows File Explorer window and navigate to the folder with the PDFs in it. Position this window off to the side so that you can see both the Word document and the PDF in File Explorer. Now in File Explorer, Right Click and Drag the pdf into the Word window and let go where you want the hyperlink to appear. A mini-dialog will appear and you can choose "Create Hyperlink here"

The real speed boost comes when you select multiple PDFs in File Explorer and do the same Right Click and Drag. This gives you multiple hyperlinks in a single action.
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote


Thread Tools
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hyperlink: open the document only once, quit & reopen PP, hyperlink doesnt work anymore quanghuynguyenhua PowerPoint 0 10-10-2015 06:17 PM
Hyperlink Format varies, depending on whether Target file was saved or unsaved on Hyperlink Copy RichardDavey Word 0 05-26-2015 05:26 PM
Can't Insert PDFs into PPT ensta PowerPoint 1 03-14-2015 07:26 AM
Splitting Out PDFs 4mysanity Word VBA 27 12-05-2012 03:31 PM
Inserting PDFs into Word Rob Roy Word 2 01-04-2011 03:53 PM

All times are GMT -7. The time now is 08:05 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc. is not affiliated with Microsoft