A Microsoft Office (Excel, Word) forum. OfficeFrustration

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 » OfficeFrustration forum » Microsoft Excel » Links and Linking
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

hyperlinks in excel2002 won't save correctly



 
 
Thread Tools Display Modes
  #1  
Old August 24th, 2007, 03:04 PM posted to microsoft.public.excel.links
Alastair
external usenet poster
 
Posts: 19
Default hyperlinks in excel2002 won't save correctly

Hi All,

I'm having problems keeping hyperlink paths when i save an excel file as html.

The hyperlink works fine in excel: links to a pdf
"file:///\\server\share\folder\file.pdf" but when saved as html it is just
saved as "folder/file.pdf" I'm using the html on a webserver so need the
entire path.

I tried unselecting 'update links on exit' under toolsoptionsgeneralweb
options, but still the same.

Any ideas?

Thanks in advance,

Alastair
  #2  
Old August 25th, 2007, 02:07 AM posted to microsoft.public.excel.links
Bill Manville
external usenet poster
 
Posts: 258
Default hyperlinks in excel2002 won't save correctly

I don't know if it will help with this problem, but some problems with
relative links are solved by File Properties Summary Hyperlink
Base : \\SomeJunkServer\JunkFolder

This forces hyperlinks to the same server as the file is saved on to be
saved as absolute.

Bill Manville
MVP - Microsoft Excel, Oxford, England
No email replies please - respond to newsgroup

  #3  
Old August 29th, 2007, 04:20 PM posted to microsoft.public.excel.links
Alastair
external usenet poster
 
Posts: 19
Default hyperlinks in excel2002 won't save correctly

Hi,

Thanks for your reply, unfortunately it still will not work, the HTML code
for each link still reads:

href="folder/file.pdf"

Cheers though,
Alastair.

"Bill Manville" wrote:

I don't know if it will help with this problem, but some problems with
relative links are solved by File Properties Summary Hyperlink
Base : \\SomeJunkServer\JunkFolder

This forces hyperlinks to the same server as the file is saved on to be
saved as absolute.

Bill Manville
MVP - Microsoft Excel, Oxford, England
No email replies please - respond to newsgroup


  #4  
Old August 31st, 2007, 12:32 AM posted to microsoft.public.excel.links
Bill Manville
external usenet poster
 
Posts: 258
Default hyperlinks in excel2002 won't save correctly

Alastair wrote:
unfortunately it still will not work, the HTML code
for each link still reads:

href="folder/file.pdf"


If you create a new hyperlink, with the hyperlink base set as I
suggested, does it come out right?
If so all we need is to fix up any existing hyperlinks which should be
possible using some code.

Bill Manville
MVP - Microsoft Excel, Oxford, England
No email replies please - respond to newsgroup

  #5  
Old September 25th, 2007, 12:32 PM posted to microsoft.public.excel.links
Alastair
external usenet poster
 
Posts: 19
Default hyperlinks in excel2002 won't save correctly

Cheers Bill,

With your help I've now solved the problem. I was saving the individual
sheet as html rather than the 'entire workbook'. With the hyperlink base in
place the link in html reads correctly:

a href="file:///\\server\folder\file.pdf"file/a

"Bill Manville" wrote:

Alastair wrote:
unfortunately it still will not work, the HTML code
for each link still reads:

href="folder/file.pdf"


If you create a new hyperlink, with the hyperlink base set as I
suggested, does it come out right?
If so all we need is to fix up any existing hyperlinks which should be
possible using some code.

Bill Manville
MVP - Microsoft Excel, Oxford, England
No email replies please - respond to newsgroup


 




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 Off
HTML code is Off
Forum Jump


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


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