Notices
Computer/Internet Issues & Troubleshooting Anyone with questions about the terribly complex world of computers or the internet should try here. NOT FOR REPORTING ISSUES WITH PPRuNe FORUMS! Please use the subforum "PPRuNe Problems or Queries."

hyperlinking pdf to excel

Old 23rd January 2016 | 13:47
  #1 (permalink)  
Thread Starter
 
Joined: Nov 1999
Posts: 60
Likes: 0
From: Sunny Cyprus
hyperlinking pdf to excel

I have an excel spreadsheet with around 200 people on it. I would like to be able to add a hyperlink to each individual that takes me to a particular document. I have a folder containing these pdf documents - one per person - and short of adding the hyperlink individually (which would take ages) I can't find a way of linking them. Hope you can help.
Ed Set is offline  
Reply
Old 23rd January 2016 | 23:36
  #2 (permalink)  
 
Joined: Mar 2013
Posts: 44
Likes: 0
From: Siliconia
I've done similar in a few steps...
1. Create a list of files to link to ... e.g. in the folder of pdf files, type 'dir /b > templist.txt'
2. Open templist.txt in an editor (e.g. Notepad, Notepad++, Wordpad or ...), "Select All" and "Copy"
3. "Paste" into a new column (say A) in EXCEL, probably best to trial in a fresh sheet
4. In new column (say B), fill down the formula "=concatenate("file:///C:/Users/Cyprus/Ed-Set/",A1,".pdf ")
5. Copy column B to required location and Paste Spacial Values i.e. not formulas.

Obviously C:/Users/Cyprus/Ed-Set/ should be replaced by the actual user directory structure.

I've used file:/// above (with three / characters) because I've copied from some html (browser page edit) notes; for EXCEL local use only, you may need fewer / characters.
0'n'1
noughtsnones is offline  
Reply
Old 24th January 2016 | 09:23
  #3 (permalink)  
Thread Starter
 
Joined: Nov 1999
Posts: 60
Likes: 0
From: Sunny Cyprus
Many thanks - I'll give it a try. Silly question perhaps but where do i type in
'dir /b > templist.txt' and do I type it in exactly as you've written?
Ed Set is offline  
Reply
Old 24th January 2016 | 10:28
  #4 (permalink)  
Administrator
 
Joined: Mar 2001
Aviation Qualifications: PPL
Posts: 8,121
Likes: 686
From: Twickenham, home of rugby
but where do i type in
'dir /b > templist.txt' and do I type it in exactly as you've written?
In a command prompt, and yes, apart from the ' at each end.

The point is that you are creating a text file from the directory listing of the folder containing the names.
Saab Dastard is offline  
Reply
Old 31st January 2016 | 13:01
  #5 (permalink)  
Thread Starter
 
Joined: Nov 1999
Posts: 60
Likes: 0
From: Sunny Cyprus
Many thanks for your help noughtsnones and Saab Dastard- it worked well and did what it was supposed to!!
I did however find an alternative way of adding the file addresses in a folder to my spreadsheet.
Firstly, open the folder and then select the files for which you want the file names list. Hold down the SHIFT key and RIGHT click on the selected files. You will see an option called "Copy as Path". Now go to Word/Notepad/Excel and click PASTE. You will get a list of the file names, including the directory path for each file.
Then it was just a case of creating the hyperlinks in Excel.
Your help was greatly appreciated - thanks again.
Ed
Ed Set is offline  
Reply
Old 31st January 2016 | 14:51
  #6 (permalink)  
Gnome de PPRuNe
Community Builder
Community Influencer
20 Anniversary
 
Joined: Jan 2002
Aviation Qualifications: Spotter
Posts: 15,198
Likes: 1,201
From: Too close to Croydon for comfort
Ed Set, thank you, that copy as path tip is very useful indeed.
treadigraph is offline  
Reply
Old 31st January 2016 | 18:08
  #7 (permalink)  
Administrator
 
Joined: Mar 2001
Aviation Qualifications: PPL
Posts: 8,121
Likes: 686
From: Twickenham, home of rugby
Ed Set, that's something I've never come across before, thanks for pointing it out.

SD
Saab Dastard is offline  
Reply
Old 1st February 2016 | 04:07
  #8 (permalink)  
 
Joined: Jun 2002
Aviation Qualifications: PPL
Posts: 7,176
Likes: 297
From: Nanaimo (CAC8)
Ed Set,

I didn't know that either.

For Mac users, I have discovered that you can copy the path from the Get Info window:
Quickly Copy a File or Folder Path to the Clipboard in Mac OS X | OSXDaily
India Four Two is offline  
Reply

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Thread Tools
Search this Thread

Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service

Copyright © 2026 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.