Wikiposts
Search
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

Thread Tools
 
Search this Thread
 
Old 23rd Jan 2016, 13:47
  #1 (permalink)  
Thread Starter
 
Join Date: Nov 1999
Location: Sunny Cyprus
Posts: 60
Likes: 0
Received 0 Likes on 0 Posts
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  
Old 23rd Jan 2016, 23:36
  #2 (permalink)  
 
Join Date: Mar 2013
Location: Siliconia
Age: 63
Posts: 44
Likes: 0
Received 0 Likes on 0 Posts
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  
Old 24th Jan 2016, 09:23
  #3 (permalink)  
Thread Starter
 
Join Date: Nov 1999
Location: Sunny Cyprus
Posts: 60
Likes: 0
Received 0 Likes on 0 Posts
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  
Old 24th Jan 2016, 10:28
  #4 (permalink)  
Spoon PPRuNerist & Mad Inistrator
 
Join Date: Sep 2003
Location: Twickenham, home of rugby
Posts: 7,401
Received 272 Likes on 174 Posts
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  
Old 31st Jan 2016, 13:01
  #5 (permalink)  
Thread Starter
 
Join Date: Nov 1999
Location: Sunny Cyprus
Posts: 60
Likes: 0
Received 0 Likes on 0 Posts
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  
Old 31st Jan 2016, 14:51
  #6 (permalink)  
Gnome de PPRuNe
 
Join Date: Jan 2002
Location: Too close to Croydon for comfort
Age: 60
Posts: 12,654
Received 314 Likes on 174 Posts
Ed Set, thank you, that copy as path tip is very useful indeed.
treadigraph is online now  
Old 31st Jan 2016, 18:08
  #7 (permalink)  
Spoon PPRuNerist & Mad Inistrator
 
Join Date: Sep 2003
Location: Twickenham, home of rugby
Posts: 7,401
Received 272 Likes on 174 Posts
Ed Set, that's something I've never come across before, thanks for pointing it out.

SD
Saab Dastard is offline  
Old 1st Feb 2016, 04:07
  #8 (permalink)  
 
Join Date: Jun 2002
Location: Manchester MAN
Posts: 6,644
Received 74 Likes on 46 Posts
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  

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



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

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