Hi there,
I have written some vba and put it into normal.dot. When
a user wants to send a file to another internal user, they
press a tool bar icon and it creates an email message and
inserts the fullname and path for that word doc.
.HTMLBody = vbCrLf & vbCrLf & vbCrLf & "<a
href=""file:///" & activedocument.FullName & """>" &
activedocument.FullName & "</a>"
My problem is, when the receiver clicks on the link, it
opens the word doc in I.E and not Winword.
How can I make it that the link opens the file in word
only ?
Thanks
Sean
Peter - 21 Jan 2005 20:43 GMT
> Hi there,
>
[quoted text clipped - 13 lines]
> Thanks
> Sean
Send it formatted like so: \\servername\foldername\documentname.doc. No anchor tags.
Any M$ e-mail client (and possibly others) should automatically turn that into a link that will directly open the document.
This will work only on the LAN, not across the internet, but then the file:/// link has those restrictions as well.
hth,
-Peter
anonymous@discussions.microsoft.com - 23 Jan 2005 23:42 GMT