Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel / Outlook - Hyperlink Problems

Status
Not open for further replies.

Muttley

MIS
Nov 22, 2000
50
US
Hi

I am trying to write code that will a) allow a user to save a file (in this case, an Excel Spreadsheet to a common directory and b) Generate an email via Outlook 2000 to interested parties with a hyperlink to the above file location.

I'm having problems with actually making the string show as a hyperlink - can get it to appear on the .body part of the email as text, but no more.

I'm using syntax as follows:
.body = "Blah" & strFileName & "Blah"

Where strFileName = "file://" and the filepath

What am I doing wrong...!!! Please help!!

Thanks!



 
waht is the filepath you are using?

Klae You're only as good as your last answer!
 
Server\Dir\subdir\subdir\subdir\Refunds200401.xls

So that when the text appears in the body email it looks like: file://Server\Dir\subdir\subdir\subdir\Refunds200401.xls

I've tried removing the "file://" part and enclosing in angled brackets but does not work.

Cheers
 
Would you believe....just need to send the stupid thing and it appears formatted in the received message.

Doh!

Thanks anyway
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top