Hi
I'm trying to use VBA (the HyperlinkPart function to be precise)to insert a hyperlink into a hyperlink field in a form.
I am trying the following code:
where "link" is the hyperlink field.
The acDisplayedText line works OK, but I cannot get the document path inserted. It is always blank.
Any advice would be appreciated.
Thanks
AL
I'm trying to use VBA (the HyperlinkPart function to be precise)to insert a hyperlink into a hyperlink field in a form.
I am trying the following code:
Code:
Forms![events log]!Link = HyperlinkPart("c:\folder\filename.doc", acAddress)
Forms![events log]!Link = HyperlinkPart("file", acDisplayedtext)
where "link" is the hyperlink field.
The acDisplayedText line works OK, but I cannot get the document path inserted. It is always blank.
Any advice would be appreciated.
Thanks
AL