What exactly do you mean by having "Access open a web page"? Are you
strictly trying to open an instance of Internet Explorer and have the page
appear there, or do you have an instance of the Microsoft Web Browser
ActiveX control on a form in Access? If the latter, there's a
DownloadComplete event that you should be able to tap into.
--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)
"Ryan" <(E-Mail Removed)> wrote in message
news:17E8CDFA-69CF-4B39-A349-(E-Mail Removed)...
> Hi. I am just starting out with VBA in Access. I am trying to have
> Access
> open a web page. I can do that, but I also want to make sure the web page
> has loaded within, say, 20 seconds.
>
> I've been thinking of something like:
>
> using AppActivate with the title of the page that it displays when it has
> loaded and then repeating this action if there is an error (ie, no such
> title, bc the page hasn't loaded) and if a counter has not been exceeded.
>
> I'm not really sure how to put that together though. Any ideas??
>
> Thanks,
> Ryan