Use Access To Search the web

J

John Nurick

Hi Dean,

You can use something like this, in the Click event procedure of a
button on a form that also contains a textbox called txtArtist which
contains the name of the artist you want to look up:

Const DISCOGS_URL = "http://www.discogs.com/search/?" _
& "meta_type=Artist&text_content="
Dim strURL as String

strURL = LCase(Me.txtArtist.Value)
strURL = Replace(strURL, " ", "+")
strURL = DISCOGS_URL & strURL & "&action=Go"
Application.FollowHyperlink strURL
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top