In my Access database I have a table with 2 fields: DOCNAME (Text) and WEBLINK (Hyperlink).
I have a VBA code for sending any data from this table by e-mail using CDO.Message function.
I can send web-links from WEBLINK field, but I need to hide it and instead the actual link to send the data from DOCNAME field.
For example, I fill the DOCNAME as “Contract” and WEBLINK as “http: //DomainName.com/Contract.pdf” (actual link to the document). Using the following code (part):
my recipient gets a link - http: //DomainName.com/Contract.pdf”
but how to hide it behind the clickable link “Contract” instead, or to send clickable link with the name of document from DOCNAME field.
Thanks
I have a VBA code for sending any data from this table by e-mail using CDO.Message function.
I can send web-links from WEBLINK field, but I need to hide it and instead the actual link to send the data from DOCNAME field.
For example, I fill the DOCNAME as “Contract” and WEBLINK as “http: //DomainName.com/Contract.pdf” (actual link to the document). Using the following code (part):
Code:
objMessage.TextBody = objMessage.TextBody & Split(rst![WEBLINK], "#")(2)
but how to hide it behind the clickable link “Contract” instead, or to send clickable link with the name of document from DOCNAME field.
Thanks
Comment