Forum Discussion
Massimo Paolini
Oct 02, 2025Copper Contributor
VBA New Edge Web Browser Control in Access - Wait for Page Load
Using the new Edge Browser Control in Access, How to wait the time of loading page to give the next command in VBA.
Tom_van_Stiphout
Oct 02, 2025Iron Contributor
I entered "javascript page finished loading" and got several promising hits, including using the window.onload event.
Massimo Paolini
Oct 12, 2025Copper Contributor
some example code? like this...
Dim jsCode As String
jsCode = "window.onload = function() { window.external.PageLoaded(); };" ' Inject this script into the page
or the old one
Do While EdgeBrowser.ReadyState <> READYSTATE_COMPLETE
DoEvents
Loop
?