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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hyperlink ActiveX Referebce file

Status
Not open for further replies.

Coxylaad

Programmer
Jan 27, 2004
155
GB
Hi,
I am trying to create a hyperlink using vba in access with the following code:

dim link as hyperlink

set link = new hyperlink ***** error here *****
link.Address = tempstr
link.TextToDisplay = FileNamestr

When I get to the marked line I get the following error:
Error 429:
"ActiveX object cannot create object"

Is there a reference file that I need to include in the database?

Thanks

Ian

 
The Access.Hyperlink object is always related to a control (image, label, button).

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top