OK, that works. However when IE opens it is minimized to the startbar. Is
there a way to have it open as the active window?
Now, I have this code behind a button
----------------------------------------------------------------
Dim URLAddress As String
GL_Address =
Forms![frmRecruitment]![frmAppointment].Form![frmAppointmentLocation].Form![
Address]
GL_City =
Forms![frmRecruitment]![frmAppointment].Form![frmAppointmentLocation].Form![
City]
GL_State = Me![frmAppointmentLocation].Form![StateID]
GL_Zip = Me![frmAppointmentLocation].Form![Zip]
MapAddress = ChangeStr(GL_Address, Chr$(32), Chr$(43), 0)
MapCity = ChangeStr(GL_City, Chr$(32), Chr$(43), 0)
URLAddress =
"
http://www.mapquest.com/maps/map.adp?country=US&addtohistory=&address=" +
MapAddress + "state=" + GL_State + "&zipcode=" + GL_Zip +
"&homesubmit=Get+Map"
Shell "C:\Program Files\Internet Explorer\iexplore.exe " & URLAddress
--------------------------------------------------------------------------
This opens IE to mapquest and finds an address
Occurs to me I may have missed your question. I was thinking of the browser
object inserted on a form...
In code this works to start IE and go to '
www.msn.com':
Shell "C:\Program Files\Internet Explorer\iexplore.exe
www.msn.com"
Steve
<SteveT> wrote in message news:%
[email protected]... button,
the on