Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default hyperlinks within Excel

Hi,

I created a spead sheet and used hyperlinks to link to other documents on
our server. This spreadsheet is now archived and has been moved to another
folder. The hyperlinks no longer work albeit, when you right click the
hyperlink it still displays the link (so you can remove, edit etc).

I thought the hyperlink would not work if you moved the document it was
pointing to and not the document containing the hyperlink.

There are about 400 links that no longer work. Is this just a blip or do I
have to re input all of the links (even though in the properties the path is
there??)

Thanks

Sam
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default hyperlinks within Excel

I like to use the =hyperlink() worksheet function for this.

I'll put the path in a hidden cell (A1 in my example). (Include the trailing
backslash, too!)

Then put the filenames in A2:Axxx
Then use the =hyperlink() formula in B2:Bxx.

=hyperlink("File:////"&$a$1&a2,"Click me")
and drag down

Then when I need to change the folder, I can change it one location (A1).

I could embed the path directly in the formula:
=hyperlink("File:////c:\my documents\excel\"& a2,"Click me")
and use Edit|Replace, but that seems like more work to me.

========
If you used Insert|Hyperlink, then you've noticed that edit|replace won't touch
those hyperlink addresses.

Saved from a previous post:

If you used Insert|hyperlink (xl2003 menus), you'll have more work to do. But
the good news is David McRitchie has done most of it for you:

http://www.mvps.org/dmcritchie/excel/buildtoc.htm
look for:
Fix Hyperlinks (#FixHyperlinks)

If you're new to macros:

Debra Dalgleish has some notes how to implement macros he
http://www.contextures.com/xlvba01.html

David McRitchie has an intro to macros:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

Ron de Bruin's intro to macros:
http://www.rondebruin.nl/code.htm

(General, Regular and Standard modules all describe the same thing.)

WICKed Lites wrote:

Hi,

I created a spead sheet and used hyperlinks to link to other documents on
our server. This spreadsheet is now archived and has been moved to another
folder. The hyperlinks no longer work albeit, when you right click the
hyperlink it still displays the link (so you can remove, edit etc).

I thought the hyperlink would not work if you moved the document it was
pointing to and not the document containing the hyperlink.

There are about 400 links that no longer work. Is this just a blip or do I
have to re input all of the links (even though in the properties the path is
there??)

Thanks

Sam


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default hyperlinks within Excel

Hi,

thanks for your response but I really don't understand. I'm not sure how I
can use a hidden field. The spreadsheets links to, for example:

Document 1, document 2, document 3 and so on. The spreadsheet is filed in
folder x

The spreadsheet still links to document 1, 2 and 3, but the spreadsheet is
in folder Y. No hyperlinks work.

Surely using the =hyperlink() function wouldn't solve this problem or
rectify it happening again?

I'm lost!!!

SAm

"Dave Peterson" wrote:

I like to use the =hyperlink() worksheet function for this.

I'll put the path in a hidden cell (A1 in my example). (Include the trailing
backslash, too!)

Then put the filenames in A2:Axxx
Then use the =hyperlink() formula in B2:Bxx.

=hyperlink("File:////"&$a$1&a2,"Click me")
and drag down

Then when I need to change the folder, I can change it one location (A1).

I could embed the path directly in the formula:
=hyperlink("File:////c:\my documents\excel\"& a2,"Click me")
and use Edit|Replace, but that seems like more work to me.

========
If you used Insert|Hyperlink, then you've noticed that edit|replace won't touch
those hyperlink addresses.

Saved from a previous post:

If you used Insert|hyperlink (xl2003 menus), you'll have more work to do. But
the good news is David McRitchie has done most of it for you:

http://www.mvps.org/dmcritchie/excel/buildtoc.htm
look for:
Fix Hyperlinks (#FixHyperlinks)

If you're new to macros:

Debra Dalgleish has some notes how to implement macros he
http://www.contextures.com/xlvba01.html

David McRitchie has an intro to macros:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

Ron de Bruin's intro to macros:
http://www.rondebruin.nl/code.htm

(General, Regular and Standard modules all describe the same thing.)

WICKed Lites wrote:

Hi,

I created a spead sheet and used hyperlinks to link to other documents on
our server. This spreadsheet is now archived and has been moved to another
folder. The hyperlinks no longer work albeit, when you right click the
hyperlink it still displays the link (so you can remove, edit etc).

I thought the hyperlink would not work if you moved the document it was
pointing to and not the document containing the hyperlink.

There are about 400 links that no longer work. Is this just a blip or do I
have to re input all of the links (even though in the properties the path is
there??)

Thanks

Sam


--

Dave Peterson
.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default hyperlinks within Excel

If the path where the other documents are changes (the files are moved or the
share is deleted or the server is retired and the name not re-used), then by
using the =hyperlink() formula with a pointer to a single cell that contains
that folder name means that you only have to change the value in one cell. And
all 400 hyperlinks will be fixed.

If you used the insert|Hyperlink style of hyperlink, you'll have to either do
each individually or use a macro--like the one I suggested from David
McRitchie's site.

Did you try David's macro?


WICKed Lites wrote:

Hi,

thanks for your response but I really don't understand. I'm not sure how I
can use a hidden field. The spreadsheets links to, for example:

Document 1, document 2, document 3 and so on. The spreadsheet is filed in
folder x

The spreadsheet still links to document 1, 2 and 3, but the spreadsheet is
in folder Y. No hyperlinks work.

Surely using the =hyperlink() function wouldn't solve this problem or
rectify it happening again?

I'm lost!!!

SAm

"Dave Peterson" wrote:

I like to use the =hyperlink() worksheet function for this.

I'll put the path in a hidden cell (A1 in my example). (Include the trailing
backslash, too!)

Then put the filenames in A2:Axxx
Then use the =hyperlink() formula in B2:Bxx.

=hyperlink("File:////"&$a$1&a2,"Click me")
and drag down

Then when I need to change the folder, I can change it one location (A1).

I could embed the path directly in the formula:
=hyperlink("File:////c:\my documents\excel\"& a2,"Click me")
and use Edit|Replace, but that seems like more work to me.

========
If you used Insert|Hyperlink, then you've noticed that edit|replace won't touch
those hyperlink addresses.

Saved from a previous post:

If you used Insert|hyperlink (xl2003 menus), you'll have more work to do. But
the good news is David McRitchie has done most of it for you:

http://www.mvps.org/dmcritchie/excel/buildtoc.htm
look for:
Fix Hyperlinks (#FixHyperlinks)

If you're new to macros:

Debra Dalgleish has some notes how to implement macros he
http://www.contextures.com/xlvba01.html

David McRitchie has an intro to macros:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

Ron de Bruin's intro to macros:
http://www.rondebruin.nl/code.htm

(General, Regular and Standard modules all describe the same thing.)

WICKed Lites wrote:

Hi,

I created a spead sheet and used hyperlinks to link to other documents on
our server. This spreadsheet is now archived and has been moved to another
folder. The hyperlinks no longer work albeit, when you right click the
hyperlink it still displays the link (so you can remove, edit etc).

I thought the hyperlink would not work if you moved the document it was
pointing to and not the document containing the hyperlink.

There are about 400 links that no longer work. Is this just a blip or do I
have to re input all of the links (even though in the properties the path is
there??)

Thanks

Sam


--

Dave Peterson
.


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel Hyperlinks [email protected] Excel Worksheet Functions 0 December 6th 07 10:45 PM
Hyperlinks: Hyperlinks change on copy/paste? Rick S. Excel Worksheet Functions 0 November 13th 07 08:19 PM
Update 2000 Excel hyperlinks to 2003 hyperlinks lonv155 Excel Worksheet Functions 4 October 25th 07 05:51 AM
How toi turn-off hyperlinks [excel]? Email hyperlinks pop up ! jacob735 Excel Discussion (Misc queries) 1 June 22nd 07 12:57 AM
Excel Hyperlinks- cell content v. hyperlinks herpetafauna Excel Discussion (Misc queries) 2 May 23rd 06 04:39 AM


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

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

About Us

"It's about Microsoft Excel"