Hi,
Can anybody tell me how to make a button in an access form that connect me to a website?
Hi,
Can anybody tell me how to make a button in an access form that connect me to a website?
As pointed out, adding a hyperlink to a control is the fastest way and it solved the original question for . For anyone reading later who needs more control, here are practical alternatives, a short VBA example, and common pitfalls that were not covered in the thread.
Three common approaches (short summary):
Example VBA to open a site (dynamic URL built from a field):
Private Sub cmdOpenSite_Click()
Dim url As String
url = "https://www.example.com/?id=" & Nz(Me.ID, "")
Application.FollowHyperlink url
End Sub Troubleshooting notes and tips:
Summary: for simple links the built-in hyperlink works (as demonstrated by ). Use VBA when the URL must be composed or when additional logic is required. The snippet above is a ready pattern for dynamic links.
Jump to Post— Hangfire 41)Make button on form
2)Right click button - choose properties
3)In the properties box choose format
4)Find the box entitled hyperlink address
5)Insert web addressButton will now link to the specified website.
1)Make button on form
2)Right click button - choose properties
3)In the properties box choose format
4)Find the box entitled hyperlink address
5)Insert web address
Button will now link to the specified website.
I've made the button with the link as you had written and it works. Thank you verry much.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.