link to url from messge box

critcho2472

New member
Local time
Today, 19:13
Joined
Jun 29, 2006
Messages
4
I am trying to link to a url from a message box with difficulty.
eg the user opens the form and a message box appears asking have the latest datasets been downloaded? If answered yes the form opens, if no links to web address.

has anybody any examples.
Thanks
 
If msgbox("Have the latest datasets been downloaded?",vbexclamation+vbyesno)=vbyes then
docmd.openform "frmName"
else
Application.FollowHyperLink "URL here"
end if
 
ssteinke said:
If msgbox("Have the latest datasets been downloaded?",vbexclamation+vbyesno)=vbyes then
docmd.openform "frmName"
else
Application.FollowHyperLink "URL here"
end if
Many thanks
 

Users who are viewing this thread

Back
Top Bottom