Opening browser window from button click

A

Andy G

Is it possible to open a browser window with a click of a button and send it
to the desired URL? If it is possible, what is some example code that
performs this operation?

Thanks.
 
S

Steve Schapel

Andy,

Where is the "desired URL" coming from? If it's data which is shown on
the form, one option is to change the Data Type of the field in table
design to Hyperlink. Then you can just click the form control
containing the URL.

Otherwise, you can use this code on your command button's Click event...
Application.FollowHyperlink Me.MyURL
 
Top