Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   Hyperlink breaks when there's a space (http://www.outlookbanter.com/outlook-vba/79863-hyperlink-breaks-when-theres-space.html)

Ben October 7th 08 07:52 PM

Hyperlink breaks when there's a space
 
All -

I tried to paste the following link in an Outlook mail, but the link breaks
where the space, between Month Year? This is actually an UNC path to an
Excel file, I can't rename the directory name, I am not the owner. Can you
share with me how I can go around this?

Thanks,

Ben


head
titleUntitled Page/title
/head
body
a href =\\SERVER\Path\Month Year\SomeExcelFile.xls Some Excel file /a
/body
/html

--


Sue Mosher [MVP-Outlook] October 7th 08 08:55 PM

Hyperlink breaks when there's a space
 
Try using a valid URL, replacing spaces with %20 e.g.

a href ="file://\\SERVER\Path\Month%20Year\SomeExcelFile.xls"

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54




"Ben" wrote:

All -

I tried to paste the following link in an Outlook mail, but the link breaks
where the space, between Month Year? This is actually an UNC path to an
Excel file, I can't rename the directory name, I am not the owner. Can you
share with me how I can go around this?

Thanks,

Ben


head
titleUntitled Page/title
/head
body
a href =\\SERVER\Path\Month Year\SomeExcelFile.xls Some Excel file /a
/body
/html

--


Ben October 7th 08 09:41 PM

Hyperlink breaks when there's a space
 
Sue,

Thanks so much. It worked.

Ben

--



"Sue Mosher [MVP-Outlook]" wrote:

Try using a valid URL, replacing spaces with %20 e.g.

a href ="file://\\SERVER\Path\Month%20Year\SomeExcelFile.xls"

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54




"Ben" wrote:

All -

I tried to paste the following link in an Outlook mail, but the link breaks
where the space, between Month Year? This is actually an UNC path to an
Excel file, I can't rename the directory name, I am not the owner. Can you
share with me how I can go around this?

Thanks,

Ben


head
titleUntitled Page/title
/head
body
a href =\\SERVER\Path\Month Year\SomeExcelFile.xls Some Excel file /a
/body
/html

--



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

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com