A Microsoft Excel forum. ExcelBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » ExcelBanter forum » Excel Newsgroups » Links and Linking in Excel
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Insert Relative Hyperlinks in Exel cells?



 
 
Thread Tools Display Modes
  #1  
Old June 18th 12, 05:30 PM
Mebendazol Mebendazol is offline
Junior Member
 
First recorded activity by ExcelBanter: Jun 2012
Posts: 1
Default Insert Relative Hyperlinks in Exel cells?

I'm trying to use .xls file as index for 2000+ files

There will be a "Collection folder" that contains .xls index file and subfolder "Data" for all files

I make multi-level list (with subcategories), and the last filled column is for hyperlinks to files.

"Collection folder" is meant to be moved anywhere, and Index.xls must keep proper links - they must be relative.

I try to insert a formula into every cell of column, and cells will need to differ only in filenames, e.g.

=HYPERLINK("ThisWorkbook.Path/Data/Sun.pdf","OPEN")

This way I just need to insert [filename] instead of Sun.pdf in every cell.

But this doesn't work (error text: cannot open the specified file), because:

1) I use wrong syntax?
2) I use wrong function?
3) I use totally wrong approach, it's possible only through VBA or some other way...

Please, advise how to achieve the task
Ads
 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I insert hyperlinks in blank cells VROSARIO7 Excel Worksheet Functions 6 July 8th 09 05:11 PM
Relative Hyperlinks TKS_Mark Excel Discussion (Misc queries) 2 November 20th 08 08:46 PM
Cannot insert worksheet in exel - not available in insert menu pedro39 Excel Worksheet Functions 1 July 24th 08 12:09 PM
Relative hyperlinks help [email protected] Excel Programming 0 September 5th 06 02:32 PM
Excel hyperlinks to other cells in workbook must be relative BarryB00 Excel Worksheet Functions 0 February 12th 06 01:40 AM


All times are GMT +1. The time now is 04:52 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2004-2013 ExcelBanter.
The comments are property of their posters.