ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Hyperlink Text (https://www.excelbanter.com/excel-programming/422867-hyperlink-text.html)

coless2001

Hyperlink Text
 
I'm trying to display the text of a hyperlink and have used many of the
methods described in this discussion group, but my links seem to have a
problem. When I right-click to "Edit Hyperlink", the link is displayed as
"..\..\Sales\Business Cases\NewProject.xls". The link works fine if you
click on it and the text displayed when you hover over the cell shows the
full path, but all of the methods to display the hyperlink show the
"...\...\". Anyone know how I can get the full path without this truncation?

JLGWhiz

Hyperlink Text
 
It compresses or truncates because there is not enough space to show the full
text. I am not sure where you are attempting to display it, but the answer
is to provide sufficient space, use linewrap, multiline or some other feature
to provide adequate space.

"coless2001" wrote:

I'm trying to display the text of a hyperlink and have used many of the
methods described in this discussion group, but my links seem to have a
problem. When I right-click to "Edit Hyperlink", the link is displayed as
"..\..\Sales\Business Cases\NewProject.xls". The link works fine if you
click on it and the text displayed when you hover over the cell shows the
full path, but all of the methods to display the hyperlink show the
"...\...\". Anyone know how I can get the full path without this truncation?


[email protected]

Hyperlink Text
 
On Jan 23, 4:36*am, JLGWhiz wrote:
It compresses or truncates because there is not enough space to show the full
text. *I am not sure where you are attempting to display it, but the answer
is to provide sufficient space, use linewrap, multiline or some other feature
to provide adequate space.

"coless2001" wrote:
I'm trying to display the text of a hyperlink and have used many of the
methods described in this discussion group, but my links seem to have a
problem. *When I right-click to "Edit Hyperlink", the link is displayed as
"..\..\Sales\Business Cases\NewProject.xls". *The link works fine if you
click on it and the text displayed when you hover over the cell shows the
full path, but all of the methods to display the hyperlink show the
"...\...\". *Anyone know how I can get the full path without this truncation?



[email protected]

Hyperlink Text
 
On Jan 23, 3:54*am, coless2001
wrote:
I'm trying to display the text of a hyperlink and have used many of the
methods described in this discussion group, but my links seem to have a
problem. *When I right-click to "Edit Hyperlink", the link is displayed as
"..\..\Sales\Business Cases\NewProject.xls". *The link works fine if you
click on it and the text displayed when you hover over the cell shows the
full path, but all of the methods to display the hyperlink show the
"...\...\". *Anyone know how I can get the full path without this truncation?


I am no sure what you are trying to do but if you want the link text
string only you can reach to it by pressing Ctrl+k or going to the
edit hyperlinks box on the Insert menu.

If there are a bunch of links you want the strings for you can run a
loop in VBA and get the string using the Hyperlinks object.

Hope that solves your query.

Dave Peterson

Hyperlink Text
 
I'd try:

In xl2003 menus:
File|Properties|Summary Tab|Hyperlink Base
change it to C:\
(something that's always available)

In xl2007:
Click on the Office button
Choose Prepare, then properties.
Then use the arrow on the Document Properties dropdown
Choose Advanced Properties
And then change the hyperlink base on the Summary tab.



coless2001 wrote:

I'm trying to display the text of a hyperlink and have used many of the
methods described in this discussion group, but my links seem to have a
problem. When I right-click to "Edit Hyperlink", the link is displayed as
"..\..\Sales\Business Cases\NewProject.xls". The link works fine if you
click on it and the text displayed when you hover over the cell shows the
full path, but all of the methods to display the hyperlink show the
"...\...\". Anyone know how I can get the full path without this truncation?


--

Dave Peterson


All times are GMT +1. The time now is 12:06 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com